summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/dfs_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dfs_cache.c b/fs/cifs/dfs_cache.c
index f4e09073bb7d..cd63c4a70875 100644
--- a/fs/cifs/dfs_cache.c
+++ b/fs/cifs/dfs_cache.c
@@ -1127,7 +1127,7 @@ err_free_domainname:
err_free_unc:
kfree(new->UNC);
err_free_password:
- kfree(new->password);
+ kzfree(new->password);
err_free_username:
kfree(new->username);
kfree(new);