about summary refs log tree commit diff
path: root/lib/libpbmfont0.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpbmfont0.c')
-rw-r--r--lib/libpbmfont0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpbmfont0.c b/lib/libpbmfont0.c
index add08047..503c7ee7 100644
--- a/lib/libpbmfont0.c
+++ b/lib/libpbmfont0.c
@@ -216,8 +216,8 @@ pbm_destroybdffont2_base(struct font2 * const font2P) {
 
     free(font2P->selector);
 
-    free(font2P->name);
-    free(font2P->charset_string);
+    pm_strfree(font2P->name);
+    pm_strfree(font2P->charset_string);
     free(font2P->glyph);
 
     if (font2P->oldfont !=NULL)