Woman sentenced to prison for giving a man the gun used in killings