Skip to content

Commit dee9685

Browse files
committed
Avoid triggering memory leak in GPX driver (now fixed in GDAL per OSGeo/gdal@6c20fa9)
1 parent 5f505e0 commit dee9685

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

msautotest/wxs/expected/wfsogr10_gpx.xml

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
Content-Disposition: attachment; filename=result.gpx
12
Content-Type: application/gpx+xml; streamed
23

34
<?xml version="1.0"?>
45
<gpx version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ogr="http://osgeo.org/gdal" xmlns="http://www.topografix.com/GPX/1/1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
6+
<metadata><bounds minlat="90.00000000000000" minlon="180.00000000000000" maxlat="402556.25000000000000" maxlon="2589745.50000000000000"/></metadata>
57
<rte>
68
<extensions>
79
<ogr:FNODE_>613</ogr:FNODE_>

msautotest/wxs/wfs_ogr.map

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ OUTPUTFORMAT
145145
DRIVER "OGR/GPX"
146146
MIMETYPE "application/gpx+xml; streamed"
147147
FORMATOPTION "DSCO:GPX_USE_EXTENSIONS=YES"
148-
FORMATOPTION "STORAGE=stream"
148+
FORMATOPTION "STORAGE=memory"
149149
FORMATOPTION "FORM=simple"
150150
FORMATOPTION "FILENAME=result.gpx"
151151
END

0 commit comments

Comments
 (0)