http://bugzilla.novell.com/show_bug.cgi?id=540414 Summary: libetpan-0.58-1.19: memory leak and some dodgy code Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package libetpan-0.58-1.19 For source code file libetpan-0.58/src/low-level/imap/mailimap_types.c around line 2050, function mailimap_response_fatal_new is the following code resp_fatal = malloc(sizeof(* resp_fatal)); but I fail to detect a matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the block. Also, it seems that the function only ever returns the value NULL. This looks wrong - some variation in return value is more usual. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.