Swap out all of the pointers to use boost::shared_ptr

Issue #6 new
Robert Massaioli repo owner created an issue

This way we get automatic deletion and we can start cleaning up all of the pointers that get left behind. I think this would result in a great memory reduction at the same time.

At this point in time we should also make sure that the code base is thoroughly analysed memory leaks and we attempt to see if the architecture is even in a good state. If the architecture is no good then raise bugs to clean that up.

Comments (2)

  1. Robert Massaioli reporter

    Before doing this issue I should have a really good look at boost::unique_ptr too so that I can know which one to use in each situation appropriately. This RAII pattern will help me clean up more memory in the long run.

  2. Log in to comment