summaryrefslogtreecommitdiffstatshomepage
path: root/py/objrange.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-03-16 12:40:16 +1100
committerDamien George <damien@micropython.org>2021-03-16 13:55:45 +1100
commit2b888aa2f346b52b16fbefbea6a2d9d8085d8ff1 (patch)
treee9505190dd15251a2cb1b8982eec765539b4cc3c /py/objrange.c
parentd53a6d58b04e524e4ec5ee937a15cc3932f8ee2f (diff)
downloadmicropython-2b888aa2f346b52b16fbefbea6a2d9d8085d8ff1.tar.gz
micropython-2b888aa2f346b52b16fbefbea6a2d9d8085d8ff1.zip
extmod/modbluetooth: Free temp arrays in gatts register services.
This helps to reduce memory fragmentation, by freeing the heap data as soon as it is not needed. It also helps the compiler keeps a reference to the beginning of both arrays, which need to be traceable by the GC (otherwise some compilers may optimise this reference to something else). Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objrange.c')
0 files changed, 0 insertions, 0 deletions