Bug 6446 - [PATCH] source4/client/client.c: possible memory leaks
[PATCH] source4/client/client.c: possible memory leaks
Status: RESOLVED FIXED
Product: Samba 4.0
Classification: Unclassified
Component: Other
unspecified
All All
: P3 trivial
: ---
Assigned To: Andrew Bartlett
Andrew Bartlett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-06 11:47 UTC by Slava Semushin
Modified: 2009-06-18 03:44 UTC (History)
1 user (show)

See Also:


Attachments
Proposal fix (1.05 KB, patch)
2009-06-06 11:48 UTC, Slava Semushin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Slava Semushin 2009-06-06 11:47:20 UTC
cppcheck found 2 possible memory leaks:

    [./source4/client/client.c:3305]: (error) Memory leak: base_directory
    [./source4/client/client.c:3305]: (error) Memory leak: desthost

Patch in attach.
Comment 1 Slava Semushin 2009-06-06 11:48:31 UTC
Created attachment 4250 [details]
Proposal fix
Comment 2 Matthias Dieter Wallnöfer 2009-06-18 03:44:09 UTC
Fixed