about summary refs log tree commit diff
path: root/converter/other/pamtoxvmini.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pamtoxvmini.c')
-rw-r--r--converter/other/pamtoxvmini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pamtoxvmini.c b/converter/other/pamtoxvmini.c
index dc56e912..449b3c99 100644
--- a/converter/other/pamtoxvmini.c
+++ b/converter/other/pamtoxvmini.c
@@ -212,7 +212,7 @@ writeXvRaster(struct pam * const pamP,
     }
 
     pm_freerow((char*)xvrow);
-    pnm_freepamrow(pamP);
+    pnm_freepamrow(tuplerow);
 
     pnm_destroytuplehash(paletteHash);
 }