Memory leaks hack