]> git.street.me.uk Git - andy/viking.git/blobdiff - src/gpx.c
Fix bug #2481237: Maps directory file chooser should look for directory
[andy/viking.git] / src / gpx.c
index 5f379dab23b9361424500b38c8ec68bd9067109e..ea94ffed6b54ee60c0954ec41c57edc026d3b459 100644 (file)
--- a/src/gpx.c
+++ b/src/gpx.c
@@ -421,6 +421,7 @@ void a_gpx_read_file( VikTrwLayer *vtl, FILE *f ) {
     XML_Parse(parser, buf, len, done);
   }
  
+  XML_ParserFree (parser);
   g_string_free ( xpath, TRUE );
   g_string_free ( c_cdata, TRUE );
 }