moveWithCollisions() causing memory leak?

if (collision_count) playdate->system->realloc( collisions, 0 );

should fix this, see: Realloc allocates 16 Bytes of memory when pointer is NULL and size is 0

5 Likes