Re: Patch: fix double free (spotted by Coverity)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 a modified version of this patch.  I think it's correct.

pat
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux