about summary refs log tree commit diff
path: root/editor/pambackground.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pambackground.c')
-rw-r--r--editor/pambackground.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pambackground.c b/editor/pambackground.c
index c8df269e..c27d071d 100644
--- a/editor/pambackground.c
+++ b/editor/pambackground.c
@@ -182,7 +182,7 @@ determineBackgroundColor(struct pam * const pamP,
             pnm_colorname(pamP, *bgColorP, hexokTrue);
         pm_message("Background color is %s", colorname);
 
-        strfree(colorname);
+        pm_strfree(colorname);
     }
 
     pnm_freepamtuple(lr);