about summary refs log tree commit diff
path: root/converter/other/pamtouil.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pamtouil.c')
-rw-r--r--converter/other/pamtouil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pamtouil.c b/converter/other/pamtouil.c
index b9ddc749..f17fd94b 100644
--- a/converter/other/pamtouil.c
+++ b/converter/other/pamtouil.c
@@ -380,7 +380,7 @@ freeCmap(cixel_map cmap[], unsigned int const ncolors) {
         if (cmapEntry.uilname)
             freeString(cmapEntry.uilname);
         if (cmapEntry.rgbname)
-            freeString(cmapEntry.uilname);
+            freeString(cmapEntry.rgbname);
     }
 }