Fix memory leak in ODS reader
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 16 Sep 2015 05:34:01 +0000 (07:34 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 16 Sep 2015 05:35:29 +0000 (07:35 +0200)
src/data/ods-reader.c

index 01ff6cf115d82dc0b2861814308025f93bf814ca..68484ce664c1825afb27e395fed4f04bca92c81d 100644 (file)
@@ -1014,6 +1014,9 @@ ods_file_casereader_read (struct casereader *reader UNUSED, void *r_)
        break;
     }
 
+  xmlFree (type);
+  xmlFree (val_string);
+  
   return c;
 }
 #endif