commit | 2575eb2ed47a5684686f25a5797633e5026f43ce | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@posteo.net> | Tue Nov 03 12:11:02 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:45:49 2020 -0500 |
tree | ae89cbb2e7097d4b48b512bbce22f2fb77550669 | |
parent | 32bea5b477b4d468b76d2f9950e9bcc1c243ea2f [diff] |
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>
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index b94a971..0ac922a 100644 --- a/fs/squashfs/sqfs.c +++ b/fs/squashfs/sqfs.c
@@ -1573,4 +1573,5 @@ free(sqfs_dirs->inode_table); free(sqfs_dirs->dir_table); free(sqfs_dirs->dir_header); + free(sqfs_dirs); }