Dont free a hard code array.
PR 20569
This commit is contained in:
parent
9a9b22ddc1
commit
b515db2560
@ -42,7 +42,7 @@ VGLTextSetFontFile(char *filename)
|
||||
FILE *fd;
|
||||
|
||||
if (VGLTextFont) {
|
||||
if (VGLTextFont->BitmapArray)
|
||||
if (VGLTextFont->BitmapArray != VGLFont)
|
||||
free (VGLTextFont->BitmapArray);
|
||||
free(VGLTextFont);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user