mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
Dont free a hard code array.
PR 20569
This commit is contained in:
parent
f8151fd3ce
commit
e4f333695d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77475
@ -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