small MMFF memory leaks plugged
Part of #159
O3A memory leak plugged
Part of #159