src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
Fix memory leak. reviewed by: plam
This commit is contained in:
parent
a8e4d9eb39
commit
c4c47a7654
|
@ -1,3 +1,10 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue