Dont free a hard code array.

PR 20569
This commit is contained in:
sos 2001-05-30 07:51:56 +00:00
parent 9a9b22ddc1
commit b515db2560

View File

@ -42,7 +42,7 @@ VGLTextSetFontFile(char *filename)
FILE *fd;
if (VGLTextFont) {
if (VGLTextFont->BitmapArray)
if (VGLTextFont->BitmapArray != VGLFont)
free (VGLTextFont->BitmapArray);
free(VGLTextFont);
}