Fixed double free.