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
|
else
|
||||||
FcStrFree (cache_hashed);
|
FcStrFree (cache_hashed);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
FcStrFree (cache_hashed);
|
||||||
}
|
}
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
else if (!retried)
|
else if (!retried)
|
||||||
|
@ -416,6 +418,8 @@ FcDirCacheProcess (FcConfig *config, const FcChar8 *dir,
|
||||||
break;
|
break;
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
FcStrFree (cache_hashed);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue