From e4f333695d6194fb4757f48599e24e7555d27f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Wed, 30 May 2001 07:51:56 +0000 Subject: [PATCH] Dont free a hard code array. PR 20569 --- lib/libvgl/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libvgl/text.c b/lib/libvgl/text.c index aef974a02fc4..2117a601ef9b 100644 --- a/lib/libvgl/text.c +++ b/lib/libvgl/text.c @@ -42,7 +42,7 @@ VGLTextSetFontFile(char *filename) FILE *fd; if (VGLTextFont) { - if (VGLTextFont->BitmapArray) + if (VGLTextFont->BitmapArray != VGLFont) free (VGLTextFont->BitmapArray); free(VGLTextFont); }