← Back to team overview

dolfin team mailing list archive

Re: Memory leak in plot.cpp?

 

Garth,

I'll start working on dolfin/plot very soon, and one of the tasks is to
clean up the (known problematic) memory handling for plotter objects. So
I'll be looking at it in the near future.

-j.


On 8 August 2012 00:43, Garth N. Wells <gnw20@xxxxxxxxx> wrote:

> The lines:
>
>   VTKPlotter* plotter = new VTKPlotter(t);
>   return plotter;
>
> in the function dolfin::get_plot (dolfin/plot/plot.cpp) look
> suspiciously like a memory leak. Can one of the plot developers
> confirm either way?
>
> Garth
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp
>

References