From b515db2560e8f912d65e684abac1d8acc57442e8 Mon Sep 17 00:00:00 2001 From: sos Date: Wed, 30 May 2001 07:51:56 +0000 Subject: Dont free a hard code array. PR 20569 --- lib/libvgl/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libvgl') diff --git a/lib/libvgl/text.c b/lib/libvgl/text.c index aef974a..2117a60 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); } -- cgit v1.1