Skip to content

Commit

Permalink
Fix #808, free info. Not sure what happens, it keeps being removed on…
Browse files Browse the repository at this point in the history
… cherry-pick to 2.3....
  • Loading branch information
pierrejoye committed Jan 30, 2022
1 parent cfe84e9 commit d1e2522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gdft.c
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,7 @@ BGD_DECLARE(char *) gdImageStringFTEx (gdImagePtr im, int *brect, int fg, const
gdFree(text);
gdCacheDelete (tc_cache);
gdMutexUnlock (gdFontCacheMutex);
gdFree(info);
return "Problem loading glyph";
}

Expand Down

0 comments on commit d1e2522

Please sign in to comment.