Fix a memory leak caused by the previous commit
This commit is contained in:
parent
c9862b6ea7
commit
a45fc8a332
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue