ext4: fix memory leak when quota options are specified multiple times
authorChen Gang <gang.chen@asianux.com>
Fri, 25 Jan 2013 04:24:58 +0000 (23:24 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Jan 2013 04:24:58 +0000 (23:24 -0500)
commit03dafb5f59bd31b3f590329e95434203f0ca6661
treeec0e96ef39fc4e561aa5bd05238b40a0e8e82005
parentc3ad83d9efdfe6a86efd44945a781f00c879b7b4
ext4: 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.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/super.c