]> err.no Git - linux-2.6/blobdiff - drivers/isdn/capi/capifs.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes...
[linux-2.6] / drivers / isdn / capi / capifs.c
index eafe0e9daa7ceb88eadd9eadcce9e1123a42e22d..550e80f390a63f87da84f84e9ec0290f75ca7151 100644 (file)
@@ -69,6 +69,7 @@ static int capifs_remount(struct super_block *s, int *flags, char *data)
                } else if (sscanf(this_char, "mode=%o%c", &n, &dummy) == 1)
                        mode = n & ~S_IFMT;
                else {
+                       kfree(new_opt);
                        printk("capifs: called with bogus options\n");
                        return -EINVAL;
                }