memory leaks patched (all)