diff --git a/libr/bin/format/mach0/mach0.c b/libr/bin/format/mach0/mach0.c index 5f68f683f7..41b15a680a 100644 --- a/libr/bin/format/mach0/mach0.c +++ b/libr/bin/format/mach0/mach0.c @@ -2667,6 +2667,7 @@ const RList *MACH0_(get_symbols_list)(struct MACH0_(obj_t) *bin) { } if (!bin->symtab || !bin->symstr) { + ht_pp_free (hash); return list; } /* parse dynamic symbol table */