Commit 6cc99d6a authored by Tom Anderson's avatar Tom Anderson Committed by Akira TAGOH

Fix heap use-after-free

parent f5dd8512
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment