> From: Shu Wang <shuwang@xxxxxxxxxx> > > Found the issue by kmemleak. The pointer pneg_rsp stores the > pointer kmalloced from SMB2_ioctl, and should be release > before function return. Thanks for the patch, Shu Wang. A fix for this memory leak is already queued at https://bugzilla.samba.org/show_bug.cgi?id=13092 , alongside an extra fix for potential use of uninitialised memory. Patches to follow... Cheers, David -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html