]> git.wh0rd.org - fontconfig.git/commit
Free temporary string in FcDirCacheUnlink (Bug #11758)
authorKeith Packard <keithp@neko.keithp.com>
Sun, 5 Aug 2007 19:31:03 +0000 (12:31 -0700)
committerKeith Packard <keithp@neko.keithp.com>
Sun, 5 Aug 2007 19:31:03 +0000 (12:31 -0700)
commit3ae9258f9e825ed576dc315ec79009188bb422e2
tree9fcea297d8f3aab022bc9afb82115e6a0a13d1d5
parentc80a08d6bf08a27ede95035f3f02cd5abfa2cafd
Free temporary string in FcDirCacheUnlink (Bug #11758)

In FcDirCacheUnlink(), the line

  cache_hashed = FcStrPlus (cache_dir, cache_base);

allocates memory in cache_hashed that is never free()'d before the function
exits.

Reported by Ben Combee.
src/fccache.c