mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
fs/squashfs: sqfs_closedir: fix memory leak
sqfs_dirs wasn't freed anywhere. Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com> Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
This commit is contained in:
parent
ea1b1651c6
commit
87d11e08e4
1 changed files with 1 additions and 0 deletions
|
@ -1573,4 +1573,5 @@ void sqfs_closedir(struct fs_dir_stream *dirs)
|
|||
free(sqfs_dirs->inode_table);
|
||||
free(sqfs_dirs->dir_table);
|
||||
free(sqfs_dirs->dir_header);
|
||||
free(sqfs_dirs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue