Aaron,

A brief heads up.

if (! (somevar = g_new0(char,STRLEN)))
  // handle memory error


this is unnecessary. Glib will exit() if g_new0 fail. No need to handle
that in the code.


Leif Jackson wrote:
> Cool! :)
> 
> -leif
> 
> On Sat, May 13, 2006 9:43 pm, Aaron Stone wrote:
> 
>>Thanks! There was even one more in dbmail-imapsession, if !ln failed
>>then re was not freed, about three lines above your fix. Now in SVN.
>>
>>Aaron
>>
>>
>>On Sat, 2006-05-13 at 15:28 -0400, Leif Jackson wrote:
>>
>>
>>>Guys,
>>>
>>>
>>>Hey looking real good on the current svn HEAD (rev 2117). I belive I
>>>found a few minor memleaks in the imap daemon. Attached is a patch.
>>>
>>>
>>>Thanks,
>>>Leif
>>>
>>
>>
>>_______________________________________________
>>Dbmail-dev mailing list
>>[email protected]
>>http://twister.fastxs.net/mailman/listinfo/dbmail-dev
>>
>>
> 
> 
> 
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to