rt_brep_ifree()
does not free the OpenNURBS objects. Does anybody remember why?
Not offhand. Only thought that comes to mind would be ownership -- ON_Brep* is passed to the mk_brep() from a calling context so that code typically owns the object and may be doing something else with it would be my immediate thought. But then it would seem wrong if the ON_Brep* that are created on import aren't released. On thought our memory footprint was clean there last I checked though.. Is it free'd somewhere else?
Sean said:
Is it free'd somewhere else?
Yeah, in rt_brep_free(struct soltab *stp)
.
Last updated: Jan 09 2025 at 00:46 UTC