Commit c4c47a76 authored by Patrick Lam's avatar Patrick Lam
Browse files

src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)

Fix memory leak.
reviewed by: plam
parent a8e4d9eb
2006-02-03 Takashi Iwai <tiwai@suse.de>
reviewed by: plam
* src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
Fix memory leak.
2006-02-03 Dirk Mueller <dmueller@suse.de>
reviewed by: plam
......
......@@ -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;
}
......
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