[plt-scheme] Memory management and MzScheme
Thanks Ron. Like Anton said I do not think that is the problem but I was not
aware of this behavior - that info might prove useful in the future.
-pp
> Are you loading into DrScheme or MrEd, and not just MzScheme?
> Could it be that C++ is new'ing space for v? If so, that might
> be your problem, because MrEd replaces the new operator so that
> its C++ objects are garbage collected. Eventually, your C++ objects
> will get garbage-collected too! That was our experience in linux.
> We linked our C++ extension with a copy of new/delete that uses
> malloc/free, so it wouldn't get linked at loadtime with MrEd's new/delete.