[ libetpan-Patches-2918372 ] memory allocation checks wrong variable for NULL

"SourceForge.net" <[email protected]> Sun, 03 Jan 2010 23:33:51 +0000
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Patches item #2918372, was opened at 2009-12-21 02:30
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429698&aid=2918372&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IMAP4
Group: Latest development - libEtPan!
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Chris Head (hawk777)
Assigned to: Nobody/Anonymous (nobody)
Summary: memory allocation checks wrong variable for NULL

Initial Comment:
A function is called which allocates memory and returns NULL if that allocation fails. The return value of the function is assigned to (*result), but then (result) is checked for NULL rather than (*result).

----------------------------------------------------------------------

>Comment By: DINH V. Hoa (hoa)
Date: 2010-01-04 00:33

Message:
it has been integrated.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429698&aid=2918372&group_id=41064

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev