[Fontconfig] Patch: fix double free (spotted by Coverity)

Patrick Lam plam at MIT.EDU
Mon Apr 10 08:46:53 PDT 2006


Frederic Crozat wrote:
> The following patch fixes memory and file descriptor leaks (Coverity
> reports #777 and #1826) in error cases for FcDirScanConfig.
> 
> Please review this patch carefully, as I used goto for bail conditions
> and tried to call free functions only one time in the FcDirScanConfig
> code (to ease code review in the future).

I've committed the earlier patches, but not this one yet.

pat


More information about the Fontconfig mailing list