ext3: Fix memory leak when quota options are specified multiple times
authorJan Kara <jack@suse.cz>
Mon, 31 Dec 2012 11:38:36 +0000 (12:38 +0100)
committerJan Kara <jack@suse.cz>
Mon, 21 Jan 2013 10:19:55 +0000 (11:19 +0100)
commitf56426ae4d4414c9c996567710dceecbdfc39acc
tree1ef907778df97d0ac0c0a680d5a44280324ad1cb
parent306a74920ba9ccf6b5f110f97c1cb6bb2caeff93
ext3: Fix memory leak when quota options are specified multiple times

When usrjquota or grpjquota mount options are specified several times,
we leak memory storing the names. Free the memory correctly.

Reported-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/super.c