Fix memory leak
This commit is contained in:
parent
e9d3177557
commit
4b1276e240
|
@ -1348,9 +1348,9 @@ FcDirCacheWrite (FcCache *cache, FcConfig *config)
|
|||
#endif
|
||||
FcDirCacheBasenameMD5 (dir, cache_base);
|
||||
cache_hashed = FcStrBuildFilename (cache_dir, cache_base, NULL);
|
||||
FcStrFree (cache_dir);
|
||||
if (!cache_hashed)
|
||||
return FcFalse;
|
||||
FcStrFree (cache_dir);
|
||||
|
||||
if (FcDebug () & FC_DBG_CACHE)
|
||||
printf ("FcDirCacheWriteDir dir \"%s\" file \"%s\"\n",
|
||||
|
|
Loading…
Reference in New Issue