Re: [gdal-dev] MSG Driver: two memory leaks

2014-06-27 Thread Even Rouault
n Rouault [even.roua...@mines-paris.org] > Sendt: 26. juni 2014 16:48 > Til: gdal-dev@lists.osgeo.org > Cc: Simon Richard Proud > Emne: Re: [gdal-dev] MSG Driver: two memory leaks > > Le jeudi 26 juin 2014 16:14:03, Simon Richard Proud a écrit : > > Hi, > > Have yo

Re: [gdal-dev] MSG Driver: two memory leaks

2014-06-27 Thread Simon Richard Proud
...@mines-paris.org] Sendt: 26. juni 2014 16:48 Til: gdal-dev@lists.osgeo.org Cc: Simon Richard Proud Emne: Re: [gdal-dev] MSG Driver: two memory leaks Le jeudi 26 juin 2014 16:14:03, Simon Richard Proud a écrit : > Hi, > Have you noticed any other memory leaks in the MSG driver? We have seen >

Re: [gdal-dev] MSG Driver: two memory leaks

2014-06-26 Thread Even Rouault
All the best, > Simon > > > Fra: gdal-dev-boun...@lists.osgeo.org [gdal-dev-boun...@lists.osgeo.org] > på vegne af Christian Authmann [authm...@mathematik.uni-marburg.de] > Sendt: 26. juni 2014 05:23 > Til: gdal-dev@lists.osgeo.org >

Re: [gdal-dev] MSG Driver: two memory leaks

2014-06-26 Thread Christian Authmann
burg.de] Sendt: 26. juni 2014 05:23 Til: gdal-dev@lists.osgeo.org Emne: [gdal-dev] MSG Driver: two memory leaks Hello, valgrind'ing my application revealed two memory leaks in msgdataset.cpp. a) MSGDataset::pszProjection shall always point to a valid string during the lifetime of the object; th

Re: [gdal-dev] MSG Driver: two memory leaks

2014-06-26 Thread Simon Richard Proud
best, Simon Fra: gdal-dev-boun...@lists.osgeo.org [gdal-dev-boun...@lists.osgeo.org] på vegne af Christian Authmann [authm...@mathematik.uni-marburg.de] Sendt: 26. juni 2014 05:23 Til: gdal-dev@lists.osgeo.org Emne: [gdal-dev] MSG Driver: two memory leaks

[gdal-dev] MSG Driver: two memory leaks

2014-06-26 Thread Christian Authmann
Hello, valgrind'ing my application revealed two memory leaks in msgdataset.cpp. a) MSGDataset::pszProjection shall always point to a valid string during the lifetime of the object; the old string needs to be released before getting a new one from exportToWkt(). b) A spatial reference is expo