about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-03-03 18:46:44 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-03-03 18:46:44 +0000
commit12d58ab7cc07b8489f4ca1e83b47b2569c6331da (patch)
tree664badf108b5244444d2dde59e14068396bac187 /converter
parent82972ce89087dbb30496a67ea6dc6be4c7a5f1d7 (diff)
downloadnetpbm-mirror-12d58ab7cc07b8489f4ca1e83b47b2569c6331da.tar.gz
netpbm-mirror-12d58ab7cc07b8489f4ca1e83b47b2569c6331da.tar.xz
netpbm-mirror-12d58ab7cc07b8489f4ca1e83b47b2569c6331da.zip
fix crash with -mapfile
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@242 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/other/pamtogif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/converter/other/pamtogif.c b/converter/other/pamtogif.c
index 7b27e571..27f1d36f 100644
--- a/converter/other/pamtogif.c
+++ b/converter/other/pamtogif.c
@@ -1644,7 +1644,8 @@ colormapFromFile(char               const filespec[],
 
     pm_message("computing other colormap ...");
     
-    pnm_computetuplefreqtable(mapPamP, colors, maxcolors, &colorCount);
+    *tupletableP =
+        pnm_computetuplefreqtable(mapPamP, colors, maxcolors, &colorCount);
 
     *colorCountP = colorCount;