AtomVM
AtomVM copied to clipboard
Fix memleaks in module.c
This fixes some of the memleaks found by ASAN running tests on Ubuntu. I believe having ASAN enabled on the AtomVM's CI would be beneficial, as there are still some memleaks out there
These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later