id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 4709,NCDFAddGDALHistory() uses free'd memory,Even Rouault,Even Rouault,"Detected by valgrind : nc_put_att_text( fpImage, NC_GLOBAL, ""GDAL"", strlen(NCDF_GDAL), NCDF_GDAL ); uses free'd memory since successive calls to GDALVersionInfo() will free the buffer returned by the previous call. Solution : store NCDF_GDAL in a local variable to avoid calling GDALVersionInfo() twice.",defect,closed,normal,1.9.2,GDAL_Raster,1.9.0,normal,fixed,netcdf,etourigny