Dont free a hard code array.
PR 20569
This commit is contained in:
parent
f8151fd3ce
commit
e4f333695d
@ -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