Fix memory leak in odt driver
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 15 Jul 2012 12:59:11 +0000 (14:59 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 15 Jul 2012 12:59:11 +0000 (14:59 +0200)
src/output/odt.c

index fdaa6f902de642efbd7a438a745e67feb21e56f2..686e7149c3b68b34002308e1147c3ebbd08eb756 100644 (file)
@@ -380,6 +380,7 @@ odt_destroy (struct output_driver *driver)
       zip_writer_close (odt->zip);
     }
   
+  free (odt->file_name);
   free (odt->command_name);
   free (odt);
 }