Fix memory leck in 3-9