about summary refs log tree commit diff
path: root/converter/other/pamtompfont.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-18 01:25:08 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-18 01:25:08 +0000
commitd04463678ff896cdc7d3f00ef1abe814a2e0e7f7 (patch)
treeefb5a621f75e4044b425b2da73d9383b56fae35d /converter/other/pamtompfont.c
parent9a0744e647e1914752bc2449089d4affac9d6972 (diff)
downloadnetpbm-mirror-d04463678ff896cdc7d3f00ef1abe814a2e0e7f7.tar.gz
netpbm-mirror-d04463678ff896cdc7d3f00ef1abe814a2e0e7f7.tar.xz
netpbm-mirror-d04463678ff896cdc7d3f00ef1abe814a2e0e7f7.zip
Free some option_defs
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1767 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pamtompfont.c')
-rw-r--r--converter/other/pamtompfont.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/converter/other/pamtompfont.c b/converter/other/pamtompfont.c
index 7de6396c..92f8de29 100644
--- a/converter/other/pamtompfont.c
+++ b/converter/other/pamtompfont.c
@@ -42,7 +42,7 @@ parseCommandLine(int argc, char ** argv,
    Note that the file spec array we return is stored in the storage that
    was passed to us as the argv array.
 -----------------------------------------------------------------------------*/
-    optEntry *option_def;
+    optEntry * option_def;
         /* Instructions to OptParseOptions3 on how to parse our options.
          */
     optStruct3 opt;
@@ -69,6 +69,8 @@ parseCommandLine(int argc, char ** argv,
                  "specified %d", argc-1);
     else
         cmdlineP->inputFilename = argv[1];
+
+    free(option_def);
 }