Dont free a hard code array.

PR 20569
This commit is contained in:
Søren Schmidt 2001-05-30 07:51:56 +00:00
parent f8151fd3ce
commit e4f333695d

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);
}