http://bugzilla.novell.com/show_bug.cgi?id=546115 Summary: dx-4.4.4-227.5: memory leak 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 dx-4.4.4-227.5 source code file dx-4.4.4/src/uipp/dxl/send.c function DXLSendPacket I notice the following code char *buffer = malloc(l + 50); int packetId, sts = 0; int written = 0; if (!conn || conn->fd < 0 || (ptype > _DXLNumPackets) || (ptype <= 0)) return ERROR; so if the return is taken, then buffer is a memory leak. Suggest new code char *buffer; int packetId, sts = 0; int written = 0; if (!conn || conn->fd < 0 || (ptype > _DXLNumPackets) || (ptype <= 0)) return ERROR; buffer = malloc(l + 50); -- 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.