diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-10 14:02:12 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-10 15:29:53 +0100 |
commit | 19333aa3648663893d190d9ce8c7e45724c1a3bd (patch) | |
tree | 5a8b6f9c89b4c6f8d40e1a071ffa2a1e81859da2 /ubifs-utils/mkfs.ubifs/devtable.c | |
parent | 64e9543eea4089aaf2bcae7f2b3b62b97bbe202f (diff) |
mkfs.ubifs: don't leak hastable iterators
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/devtable.c')
-rw-r--r-- | ubifs-utils/mkfs.ubifs/devtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ubifs-utils/mkfs.ubifs/devtable.c b/ubifs-utils/mkfs.ubifs/devtable.c index 10faaca..0afea90 100644 --- a/ubifs-utils/mkfs.ubifs/devtable.c +++ b/ubifs-utils/mkfs.ubifs/devtable.c @@ -525,6 +525,7 @@ void free_devtable_info(void) */ hashtable_destroy(ph_elt->name_htbl, 1); } while (hashtable_iterator_advance(ph_itr)); + free(ph_itr); } hashtable_destroy(path_htbl, 1); } |