Releasing the memory

LqrCarver objects can be destroyed using this function:

void lqr_carver_destroy(LqrCarver* carver);
 

This function also destroys any attached object, thus it should never be called on attached carvers.

LqrVMap objects can be destroyed using this function:

void lqr_vmap_destroy(LqrVMap* vmap);