Skip to content
Permalink
Browse files

GPX: fix memory leak when streaming to /vsistdout/

  • Loading branch information...
rouault committed Sep 6, 2019
1 parent 3493741 commit a5af54b27f9886af4c4e8a2f8b04b89d8d7e228e
Showing with 1 addition and 1 deletion.
  1. +1 −1 gdal/ogr/ogrsf_frmts/gpx/ogrgpxdatasource.cpp
@@ -116,8 +116,8 @@ OGRGPXDataSource::~OGRGPXDataSource()
VSIFWriteL(szMetadata, 1, strlen(szMetadata), fpOutput);
}
}
VSIFCloseL( fpOutput);
}
VSIFCloseL( fpOutput);
}

for( int i = 0; i < nLayers; i++ )

0 comments on commit a5af54b

Please sign in to comment.
You can’t perform that action at this time.