#60: Fix memory leaks in k_order_perturbation DLL --------------------------+------------------------------------------------- Reporter: sebastien | Owner: george Type: bug | Status: accepted Priority: minor | Milestone: Component: K-order DLL | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Old description:
Thanks for that.
Let's leave open this bug, and only close it when we are sure there is no remaining memory leak. This indeed involves some refactoring (using references whenever possible), but this is not of highest priority.
New description:
--
Comment(by sebastien):
Replying to [comment:2 george]:
As an emergency bug fix I removed (i.e. delete-d) few objects created by
operator "new" in calcDerivatives and the constructor. Please check if that is causing any problem on your machines. This change so far did not require changes of the interfaces.
In due course I will continue working on further improvements such as
changing the style and using references instead of pointers, though, at a lower priority.