Fix a potential memory leak

nix
Owen Green 6 years ago
parent 561cf0faf0
commit 4984e06772

@ -1047,7 +1047,12 @@ class FluidSCWrapper : public impl::FluidSCWrapperBase<C>
report << ")\n";
}
if(!willContinue) return;
if(!willContinue)
{
msg->~MessageData();
ft->fRTFree(x->mWorld, msgptr);
return;
}
///
(void) std::initializer_list<int>{

Loading…
Cancel
Save