src/fccache.c | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit a45fc8a33256d9d3ea0ea7947f33c8e5e3cc7238 Author: Akira TAGOH <akira@xxxxxxxxx> Date: Thu Oct 31 16:15:25 2019 +0900 Fix a memory leak caused by the previous commit diff --git a/src/fccache.c b/src/fccache.c index 4acde22..c565560 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -397,6 +397,8 @@ FcDirCacheProcess (FcConfig *config, const FcChar8 *dir, else FcStrFree (cache_hashed); } + else + FcStrFree (cache_hashed); } #ifndef _WIN32 else if (!retried) @@ -416,6 +418,8 @@ FcDirCacheProcess (FcConfig *config, const FcChar8 *dir, break; goto retry; } + else + FcStrFree (cache_hashed); } #endif else _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig