Fixed a bug in phyltr-gen-gtree that causes huge amounts of memory leaks. The implementation was changed to keep track of gene tree vertices using both shared_ptr and weak_ptr, thus breaking cycles and enabling memory to be freed when a gene tree is discarded. Previously only shared_ptr was used causing memory to leak.
Fixed a bug in phyltr-gen-gtree that causes huge amounts of memory
leaks. The implementation was changed to keep track of gene tree
vertices using both shared_ptr and weak_ptr, thus breaking cycles and
enabling memory to be freed when a gene tree is discarded. Previously
only shared_ptr was used causing memory to leak.


git-svn-id: a3bed4a600b3760c2f6dda357a89d13d4b7e5a42@58 5bcd4aa6-42ea-41a5-9ec1-3b4da75a86a9

atofigh/phyltr,atofigh/phyltr,atofigh/phyltr