[Freeassociation-devel] Memory leak patches 1 of many

Alvaro Manera alvaro.manera at nokia.com
Fri May 29 03:47:20 PDT 2009


Hi,

I am going to start sending a list of patches we have for libical. Most of 
them are memory leaks that we have found on our development. So here we 
start:


This on the autogenerated code, first the memory is allocated and then the 
pointer check is done. It can leak in case the check is false, so inverting 
the order fixes the problem.


Álvaro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autogen.diff
Type: text/x-diff
Size: 1471 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libical-devel/attachments/20090529/08ddc38b/attachment.bin>


More information about the libical-devel mailing list