diff options
author | Akira TAGOH <akira@tagoh.org> | 2019-07-23 10:54:36 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2019-07-23 10:54:36 +0000 |
commit | 1a0391c099e0fe03a4c877c5f5e05664737306a6 (patch) | |
tree | c2d73b6e2b5f65ead10a7c4733086fc266a4fdd0 /fc-cache | |
parent | 957625bafae3e4f86dba2543969f9e702fe76e93 (diff) |
Fix memory leaks
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 1866bd7..091eed4 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -187,6 +187,8 @@ scanDirs (FcStrList *list, FcConfig *config, FcBool force, FcBool really_force, ret++; break; } + FcStrFree (rooted_dir); + rooted_dir = NULL; continue; } |