Memory leak in cli_query_secdesc api

Brett Funderburg brettf at
Wed Jul 23 02:29:19 GMT 2003

Excellent, We'll give it a go and let you know. Thanks for the quick


> On Tue, Jul 22, 2003 at 03:33:31PM -0500, Brett A. Funderburg wrote:
>> Poor formatting munged the script the first time...Corrected version
>> below.
> Brett, this should be fixed in CVS now.  The python object that held
> a SMB connection wasn't freeing the cli_struct it held when being
> garbage collected.  Also applied is the other memory leak you sent
> to me in private mail.
> I've run your test program through valgrind and it shows no more
> leaks now.  It also works without the explicit disposal of the
> return data from the query_secdesc method.
> Regards,
> Tim.

More information about the samba-technical mailing list