help is appreciated - memory allocated by m_malloc() is automatically free'ed

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: help is appreciated - memory allocated by m_malloc() is automatically free'ed

Post by dhylands » Thu Aug 30, 2018 8:14 pm

If MICROPY_GC_CONSERVATIVE_CLEAR is set (which it is by default), then any allocated objects are cleared.

Post Reply