diff options
| author | Jan Kara <[email protected]> | 2020-12-22 11:09:53 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2021-01-05 13:42:18 +0000 |
| commit | a4db1072e1a3bd7a8d9c356e1902b13ac5deb8ef (patch) | |
| tree | 6f9fc68d5b3bc429a18598e9558881af5fa7cff2 /lib/parser.c | |
| parent | Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/pa... (diff) | |
| download | kernel-a4db1072e1a3bd7a8d9c356e1902b13ac5deb8ef.tar.gz kernel-a4db1072e1a3bd7a8d9c356e1902b13ac5deb8ef.zip | |
quota: Fix memory leak when handling corrupted quota file
When checking corrupted quota file we can bail out and leak allocated
info structure. Properly free info structure on error return.
Reported-by: [email protected]
Fixes: 11c514a99bb9 ("quota: Sanity-check quota file headers on load")
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions
