]> granicus.if.org Git - graphviz/commitdiff
*** empty log message ***
authorarif <devnull@localhost>
Wed, 5 Nov 2008 16:54:09 +0000 (16:54 +0000)
committerarif <devnull@localhost>
Wed, 5 Nov 2008 16:54:09 +0000 (16:54 +0000)
lib/glcomp/glTexFont.c

index 4ddaedb7e4a57d92d535f33559628d04c9adeecd..f87c51ff2616f1f2704d367d98a45520c2b101f1 100755 (executable)
@@ -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);
 }