[PATCH] fix for valgrind errors in master - smbtorture3 POSIX test.

Jeremy Allison jra at samba.org
Thu Sep 27 21:16:47 UTC 2018


On Thu, Sep 27, 2018 at 02:06:32PM -0700, Jeremy Allison via samba-technical wrote:
> > ah, but fsp_free() is not called in the close_cnum() case. Heavens!
> 
> Found it - missing:
> 
> file_free(req, fsp);
> 
> calls in close_directory() error paths...

Here is the fix. The POSIX test is now valgrind
clean.

Ralph please review and push if happy !

Thanks,

	Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-smbd-Prevent-valgrind-errors-in-smbtorture3-POSIX.patch
Type: text/x-diff
Size: 1310 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180927/3851bda0/0001-s3-smbd-Prevent-valgrind-errors-in-smbtorture3-POSIX.diff>


More information about the samba-technical mailing list