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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libpbmfont0.c b/lib/libpbmfont0.c
index 9c876926..abfd18d2 100644
--- a/lib/libpbmfont0.c
+++ b/lib/libpbmfont0.c
@@ -253,9 +253,6 @@ pbm_destroybdffont2_base(struct font2 * const font2P) {
 
     free(font2P->glyph);
 
-    if (font2P->selectorP)
-        pm_selector_destroy(font2P->selectorP);
-
     if (font2P->oldfont)
        pbm_freearray(font2P->oldfont, font2P->frows);
 
@@ -275,7 +272,7 @@ pbm_destroybdffont2(struct font2 * const font2P) {
 
     if (font2P->load_fn != FIXED_DATA) {
         destroyGlyphData(font2P->glyph, font2P->maxglyph, font2P->selectorP);
-                         pbm_destroybdffont2_base(font2P);
+        pbm_destroybdffont2_base(font2P);
     }
 }