Fixed double free