Bug 6446 - [PATCH] source4/client/client.c: possible memory leaks
Summary: [PATCH] source4/client/client.c: possible memory leaks
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P3 trivial (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Andrew Bartlett
URL:
Keywords:
Depends on:
Blocks:
 
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