Gabi and Nick's Murder

 Why did Gabi get released from Prison?

I know she killed Nick the psychopath