From 8ec07755eae48a0abba4f0dde613162ff4851ccd Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Mon, 20 Jul 2009 13:40:52 -0400 Subject: [PATCH] --- yaml --- r: 155597 b: refs/heads/master c: 90a98b2f3f3647fb17667768a348b2b219f2a9f7 h: refs/heads/master i: 155595: e79d1ad3e1ed03b378dad2b113250ab95e68a173 v: v3 --- [refs] | 2 +- trunk/fs/cifs/connect.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0f712a817479..61c415948a6e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 287638b2c533165c3c03dfa15196c2ba583cd287 +refs/heads/master: 90a98b2f3f3647fb17667768a348b2b219f2a9f7 diff --git a/trunk/fs/cifs/connect.c b/trunk/fs/cifs/connect.c index e16d7592116a..9bb5c8750736 100644 --- a/trunk/fs/cifs/connect.c +++ b/trunk/fs/cifs/connect.c @@ -2726,6 +2726,7 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses, strncpy(tcon->treeName, tree, MAX_TREE_SIZE); /* mostly informational -- no need to fail on error here */ + kfree(tcon->nativeFileSystem); tcon->nativeFileSystem = cifs_strndup_from_ucs(bcc_ptr, bytes_left, is_unicode, nls_codepage);