[PATCH] fix a potentional memory leak

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

 



It is my understanding that if realloc returns NULL, it did nothing.
You then proceed to allocate and copy manually
As far as i understand you should also free e0 afterwards. This should
be confirmed by someone who knows the code.

Maarten.

Attachment: 0001-fix-a-potential-leak.patch
Description: Binary data

_______________________________________________
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