]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: sqfs_read: fix memory leak
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:13 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit7ce9745cbeae7733a7068f19a7fc3ec8f21dc38c
tree7d08dee7e06b3dea833780127232108e11238279
parentb34949fe9baaae49003b2981213495bab3afef9b
fs/squashfs: sqfs_read: fix memory leak

sqfs_closedir() should be called to free memory allocated by
sqfs_opendir()

Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>
Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
fs/squashfs/sqfs.c