Fix Memory Leak

Fix Memory Leak for 1 file