[PATCH] Fix memory leak in hugetlbfs
From: "Chen, Kenneth W" <kenneth.w.chen@intel.com> The hugetlbfs_fill_super() doesn't free up memory allocated for sbinfo on the way out in case of parsing error (and a few others). This leads to memory leak If root tries to mount a hugetlbfs with invalid mount option. Here is a patch that fix the problem.
Showing
Please register or sign in to comment