diff --git a/fs/cifs/dfs_cache.c b/fs/cifs/dfs_cache.c index f4e09073bb7db525b12b3c0e3b9a27c78f0568f1..cd63c4a70875fdb4bace5e0be81551c41394071e 100644 --- a/fs/cifs/dfs_cache.c +++ b/fs/cifs/dfs_cache.c @@ -1127,7 +1127,7 @@ static int dup_vol(struct smb_vol *vol, struct smb_vol *new) err_free_unc: kfree(new->UNC); err_free_password: - kfree(new->password); + kzfree(new->password); err_free_username: kfree(new->username); kfree(new);