Patched more memleaks.