From: arif Date: Wed, 5 Nov 2008 16:54:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: LAST_LIBGRAPH~32^2~2878 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5324d047188523b49882c69233c1f0e94377e6be;p=graphviz *** empty log message *** --- diff --git a/lib/glcomp/glTexFont.c b/lib/glcomp/glTexFont.c index 4ddaedb7e..f87c51ff2 100755 --- a/lib/glcomp/glTexFont.c +++ b/lib/glcomp/glTexFont.c @@ -846,7 +846,8 @@ void free_font_set(fontset_t* fontset) if (fontset->font_directory) rmdir (fontset->font_directory); #endif - free(fontset->font_directory); + if (fontset->font_directory) + free(fontset->font_directory); free(fontset); }