[gdal-dev] How to delete GDALDriver objects
Kor de Jong
k.dejong at geo.uu.nl
Wed May 28 02:18:20 EDT 2008
Op woensdag 28 mei 2008, schreef Frank Warmerdam:
> Kor de Jong wrote:
> > In general the question than becomes, how would one free the memory
> > taken by a GDALDriver which has been deregistered with the
> > GDALDriverManager.
>
> I have added a GDALDestroyDriver() function for this situation (in
> trunk). As you note, the direct delete is somewhat risky, and will
> cause heap corruption on windows if GDAL and the application are not
> using the same heap.
Great, thanks Frank!
Kor
More information about the gdal-dev
mailing list