src/fccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 6cc99d6a82ad67d2f5eac887b28bca13c0dfddde Author: Tom Anderson <thomasanderson@xxxxxxxxxxxx> Date: Mon Jun 11 23:16:42 2018 -0700 Fix heap use-after-free diff --git a/src/fccache.c b/src/fccache.c index ada91d1..9831a1f 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -163,8 +163,8 @@ FcDirCacheDeleteUUID (const FcChar8 *dir, target = FcStrBuildFilename (dir, ".uuid", NULL); ret = unlink ((char *) target) == 0; - FcStrFree (target); FcHashTableRemove (config->uuid_table, target); + FcStrFree(target); return ret; } _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig