projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cifs: Make sure all data pages are signed correctly
[linux-2.6-block.git]
/
fs
/
cifs
/
smb2ops.c
diff --git
a/fs/cifs/smb2ops.c
b/fs/cifs/smb2ops.c
index ea92a38b2f08c34f2afd942d5fa933098f04cc07..ae64cbef5e07257a811b35adbe6db517a25f271f 100644
(file)
--- a/
fs/cifs/smb2ops.c
+++ b/
fs/cifs/smb2ops.c
@@
-1700,7
+1700,7
@@
smb2_query_symlink(const unsigned int xid, struct cifs_tcon *tcon,
&resp_buftype);
if (!rc || !err_iov.iov_base) {
rc = -ENOENT;
- goto
querty_exit
;
+ goto
free_path
;
}
err_buf = err_iov.iov_base;
@@
-1741,6
+1741,7
@@
smb2_query_symlink(const unsigned int xid, struct cifs_tcon *tcon,
querty_exit:
free_rsp_buf(resp_buftype, err_buf);
+ free_path:
kfree(utf16_path);
return rc;
}