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 58f57eef..8a80c901 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);
     }
 }