[PATCH] cifs: dir: fix memory leak in cifs_mknod

Pavel Shilovsky piastryyy at gmail.com
Fri Apr 20 18:02:17 UTC 2018

2018-04-20 10:37 GMT-07:00 Steve French <smfrench at gmail.com>:
> I noticed a similar problem with the tcon link leak on that (which
> Colin and Gustavo pointed out - thank you!) but also in another return
> statement, so updated the original patch of Ronnie's merging the fixes
> https://git.samba.org/sfrench/cifs-2.6.git/?p=sfrench/cifs-2.6.git;a=commit;h=167bc5de08dc97695f9d5c7069c3e69f409ff80b
> Let me know if you see any problems with it.

Looks good.

Reviewed-by: Pavel Shilovsky <pshilov at microsoft.com>

Best regards,
Pavel Shilovsky

More information about the samba-technical mailing list