diff options
author | sos <sos@FreeBSD.org> | 2001-05-30 07:51:56 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2001-05-30 07:51:56 +0000 |
commit | b515db2560e8f912d65e684abac1d8acc57442e8 (patch) | |
tree | 7186cf8f64334a763deb4e5d4e46a7151897a7df /lib | |
parent | 9a9b22ddc133b96d94ec2c281209e11d655d43f9 (diff) | |
download | FreeBSD-src-b515db2560e8f912d65e684abac1d8acc57442e8.zip FreeBSD-src-b515db2560e8f912d65e684abac1d8acc57442e8.tar.gz |
Dont free a hard code array.
PR 20569
Diffstat (limited to 'lib')
-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 aef974a..2117a60 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); } |