[GRASS-dev] Possible memory leak in G__open_cell_old in opencell.c

Markus Neteler neteler at osgeo.org
Sat Mar 16 13:00:21 PDT 2013


On Fri, Mar 15, 2013 at 3:45 PM, matteo poletti <pollo1_91 at yahoo.it> wrote:
> Hi,
>
> I am debugging my code to find memory leak. I have a memory leak that I am not able to find. Is it possible that there is a memory leak in the function G__open_cell_old declared in opencell.c?
>
> It is the first time that I deal with the gis library code so please forgive me if I misunderstand the code.
> I do not understand why the variable gdal is not freed at the end of the function.

Which GRASS 6 version are you using, from SVN?

Maybe useful:
http://grasswiki.osgeo.org/wiki/GRASS_Debugging#Using_Valgrind
to get a more precise idea.

Markus


More information about the grass-dev mailing list