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
@ -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 New Issue
Block a user