summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gdft.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gdft.c b/src/gdft.c
index acffdee..745110f 100644
--- a/src/gdft.c
+++ b/src/gdft.c
@@ -1391,6 +1391,9 @@ BGD_DECLARE(char *) gdImageStringFTEx (gdImagePtr im, int *brect, int fg, const
gdFree (tmpstr);
gdCacheDelete (tc_cache);
gdMutexUnlock (gdFontCacheMutex);
+ if (info) {
+ gdFree(info);
+ }
return "Problem doing text layout";
}