projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'clk-ingenic', 'clk-mtk-mux', 'clk-qcom-sdm845-pcie', 'clk-mtk-crit...
[linux-2.6-microblaze.git]
/
fs
/
cifs
/
dfs_cache.c
diff --git
a/fs/cifs/dfs_cache.c
b/fs/cifs/dfs_cache.c
index
cd63c4a
..
09b7d0d
100644
(file)
--- a/
fs/cifs/dfs_cache.c
+++ b/
fs/cifs/dfs_cache.c
@@
-776,6
+776,7
@@
static int get_tgt_list(const struct dfs_cache_entry *ce,
it->it_name = kstrndup(t->t_name, strlen(t->t_name),
GFP_KERNEL);
if (!it->it_name) {
+ kfree(it);
rc = -ENOMEM;
goto err_free_it;
}