Bug 161036

Summary: drd does not free client allocated memory
Product: [Developer tools] valgrind Reporter: Eugene Toder <eltoder>
Component: drdAssignee: Bart Van Assche <bart.vanassche+kde>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version: 3.4 SVN   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Call cli_free to free client memory
Test case

Description Eugene Toder 2008-04-19 21:49:57 UTC
drd_handle_free is missing cli_free, so all memory allocated by client mallocs 
is not actually freed by client frees. this creates a notable leak.
Comment 1 Eugene Toder 2008-04-19 21:50:39 UTC
Created attachment 24413 [details]
Call cli_free to free client memory
Comment 2 Eugene Toder 2008-04-19 21:51:01 UTC
Created attachment 24414 [details]
Test case
Comment 3 Bart Van Assche 2008-04-20 10:35:25 UTC
Thanks for reporting this. This issue is fixed in SVN revision 7895, and the fix will be included in Valgrind version 3.3.1.