diff options
author | Søren Schmidt <sos@FreeBSD.org> | 2001-05-30 07:51:56 +0000 |
---|---|---|
committer | Søren Schmidt <sos@FreeBSD.org> | 2001-05-30 07:51:56 +0000 |
commit | e4f333695d6194fb4757f48599e24e7555d27f77 (patch) | |
tree | 939a13c1d0696a358c59c66c5fa1159561979260 /lib/libvgl | |
parent | f8151fd3cec12b6c042367dbe1d28d3d5b2e3bdc (diff) | |
download | src-e4f333695d6194fb4757f48599e24e7555d27f77.tar.gz src-e4f333695d6194fb4757f48599e24e7555d27f77.zip |
Dont free a hard code array.
PR 20569
Notes
Notes:
svn path=/head/; revision=77475
Diffstat (limited to 'lib/libvgl')
-rw-r--r-- | lib/libvgl/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libvgl/text.c b/lib/libvgl/text.c index aef974a02fc4..2117a601ef9b 100644 --- a/lib/libvgl/text.c +++ b/lib/libvgl/text.c @@ -42,7 +42,7 @@ VGLTextSetFontFile(char *filename) FILE *fd; if (VGLTextFont) { - if (VGLTextFont->BitmapArray) + if (VGLTextFont->BitmapArray != VGLFont) free (VGLTextFont->BitmapArray); free(VGLTextFont); } |