]> granicus.if.org Git - postgis/commit
Fix an issue in the shapefile GUI caused by saving the original shapefile name before...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 4 Feb 2012 02:36:44 +0000 (02:36 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 4 Feb 2012 02:36:44 +0000 (02:36 +0000)
commit3fa2e70ebe8f18bcd86812f9d26cf2acd05c9350
tree34658e2c14cd48de836e75f42df1b452f1852e85
parentc1f7407a09397c45338db29f105628cda655449b
Fix an issue in the shapefile GUI caused by saving the original shapefile name before processing.

This was a bug caused by having two separate passes during export; we were saving the original
export shapefile name during the first loop, and so when we came to free() the temporary name
at the end of export it would only free the shapefile name from the last iteration, and do it
multiple times causing random crashes.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9030 b70326c6-7e19-0410-871a-916f4a2858ee
loader/shp2pgsql-gui.c