[patch] smbspool memory leak...

jra at dp.samba.org jra at dp.samba.org
Thu Oct 10 21:02:14 GMT 2002


On Thu, Oct 10, 2002 at 04:48:50PM -0400, Michael Sweet wrote:
> All,
> 
> I discovered this last weekend when my Windows PC forgot it had a
> wireless adapter...  Two days later smbspool (which was trying to
> print a file) was using 380MB on my laptop... :)
> 
> Attached is a patch that makes sure that cli_shutdown() is called
> on all errors so that the memory it uses is freed.

Got it - thanks !

Jeremy.



More information about the samba-technical mailing list