Fixed double-free