CIFS: Fix a memory leak when a lease break comes
commit1a05096de82f3cd672c76389f63964952678506f
authorPavel Shilovsky <pshilovsky@samba.org>
Thu, 5 Sep 2013 11:04:04 +0000 (5 15:04 +0400)
committerSteve French <smfrench@gmail.com>
Sun, 8 Sep 2013 19:41:40 +0000 (8 14:41 -0500)
treecd9ad14c597683148767a56424a53ffc3550cfcc
parentd49ffb0e48f24a11c326ca5eff8abaa27732f1f2
CIFS: Fix a memory leak when a lease break comes

This happens when we receive a lease break from a server, then
find an appropriate lease key in opened files and schedule the
oplock_break slow work. lw pointer isn't freed in this case.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2misc.c