aboutsummaryrefslogtreecommitdiff
path: root/lib/libvgl
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2001-05-30 07:51:56 +0000
committerSøren Schmidt <sos@FreeBSD.org>2001-05-30 07:51:56 +0000
commite4f333695d6194fb4757f48599e24e7555d27f77 (patch)
tree939a13c1d0696a358c59c66c5fa1159561979260 /lib/libvgl
parentf8151fd3cec12b6c042367dbe1d28d3d5b2e3bdc (diff)
downloadsrc-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.c2
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);
}