diff options
author | Patrick Lam <plam@MIT.EDU> | 2006-02-04 00:09:42 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2006-02-04 00:09:42 +0000 |
commit | c4c47a7654196f37b625f337192b235e558ab890 (patch) | |
tree | 08ed68518b52842d786aa0eb3898af5858aa5553 /src/fccfg.c | |
parent | a8e4d9eb395b45ab23f0c540f919ec432b46dea8 (diff) |
src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
Fix memory leak.
reviewed by: plam
Diffstat (limited to 'src/fccfg.c')
-rw-r--r-- | src/fccfg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fccfg.c b/src/fccfg.c index c533006..0e17edb 100644 --- a/src/fccfg.c +++ b/src/fccfg.c @@ -1849,6 +1849,7 @@ FcConfigAppFontAddFile (FcConfig *config, } FcStrListDone (sublist); } + FcStrSetDestroy (subdirs); return FcTrue; } @@ -1896,6 +1897,7 @@ FcConfigAppFontAddDir (FcConfig *config, } FcStrListDone (sublist); } + FcStrSetDestroy (subdirs); return FcTrue; } |