On Wed, Nov 19, 2014 at 11:46 AM, David Malcolm wrote:
> Paths are allocated as:
>vec *path = new vec ();
> i.e. the vec itself is on the heap, so a mere:
> path->release ();
> is merely releasing the buffer the vec holds, not the vec itself.
Ok.
Thanks,
RIchard.
> This patch updates
Paths are allocated as:
vec *path = new vec ();
i.e. the vec itself is on the heap, so a mere:
path->release ();
is merely releasing the buffer the vec holds, not the vec itself.
This patch updates the two sites that release paths to also delete them,
fixing leaks like this seen by valgri