aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_dfs_ref.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-02-01 07:22:47 +0100
committerTakashi Iwai <tiwai@suse.de>2013-02-01 07:22:47 +0100
commit8058e14259ddc8c1824387198fc53700ed4cccc9 (patch)
treefaffb83ca5173e5f3cbfd4170de603ada4812e23 /fs/cifs/cifs_dfs_ref.c
parentALSA: hda - Fix non-snoop page handling (diff)
parentALSA: usb-audio: fix Roland A-PRO support (diff)
downloadlinux-dev-8058e14259ddc8c1824387198fc53700ed4cccc9.tar.xz
linux-dev-8058e14259ddc8c1824387198fc53700ed4cccc9.zip
Merge branch 'usb-audio-fix' of git://git.alsa-project.org/alsa-kprivate into for-linus
Diffstat (limited to 'fs/cifs/cifs_dfs_ref.c')
-rw-r--r--fs/cifs/cifs_dfs_ref.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c
index ce5cbd717bfc..210fce2df308 100644
--- a/fs/cifs/cifs_dfs_ref.c
+++ b/fs/cifs/cifs_dfs_ref.c
@@ -226,6 +226,8 @@ compose_mount_options_out:
compose_mount_options_err:
kfree(mountdata);
mountdata = ERR_PTR(rc);
+ kfree(*devname);
+ *devname = NULL;
goto compose_mount_options_out;
}