about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-06-09 02:52:35 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-06-09 02:52:35 +0000
commitd75f248e597002e491d5a80ab516fb1170ea71f9 (patch)
tree51a2e8278c7eb7331b2709d31e2928a61c17a081
parent80c5c901ee227ab5978c39bc78b97766dd4afdb4 (diff)
downloadnetpbm-mirror-d75f248e597002e491d5a80ab516fb1170ea71f9.tar.gz
netpbm-mirror-d75f248e597002e491d5a80ab516fb1170ea71f9.tar.xz
netpbm-mirror-d75f248e597002e491d5a80ab516fb1170ea71f9.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@648 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--generator/pbmtext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generator/pbmtext.c b/generator/pbmtext.c
index 04736aa7..ca92b23a 100644
--- a/generator/pbmtext.c
+++ b/generator/pbmtext.c
@@ -836,9 +836,10 @@ main(int argc, char *argv[]) {
     insert_characters(bits, formattedText, fontP, vmargin, hmargin + maxleftb, 
                       cmdline.space, cmdline.lspace);
 
-    /* All done. */
     pbm_writepbm(stdout, bits, cols, rows, 0);
 
+    pbm_freearray(bits, rows);
+
     freeTextArray(formattedText);
     pm_close(stdout);