You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use tri::Resampler<CMeshO, CMeshO>::Resample to create offset mesh and found there is huge memory leaking. The fix is pretty simple. Just modified codes in resampler.h and the memory leaking is gone.
~Walker()
{
}
to:
~Walker()
{
delete _x_cs;
delete _y_cs;
delete _z_cs;
delete _x_ns;
delete _z_ns;
delete _v_cs;
delete _v_ns;
}
The text was updated successfully, but these errors were encountered:
When I try to use tri::Resampler<CMeshO, CMeshO>::Resample to create offset mesh and found there is huge memory leaking. The fix is pretty simple. Just modified codes in resampler.h and the memory leaking is gone.
~Walker()
{
}
to:
~Walker()
{
delete _x_cs;
delete _y_cs;
delete _z_cs;
delete _x_ns;
delete _z_ns;
delete _v_cs;
delete _v_ns;
}
The text was updated successfully, but these errors were encountered: