Corrected some memory leaks in AgnLocus class