DsmMemFree - Validate [sf#6]
Closed this issue · 4 comments
kolomiets commented
Reported by mcdon on 2014-10-27 20:35 UTC
In DsmMemFree (under "// Validate..."):
if (a_intptrHandle != IntPtr.Zero) return;
probably meant to be
if (a_intptrHandle == IntPtr.Zero) return;
to exit early if the pointer is null
kolomiets commented
Updated by mlmcl on 2014-10-28 13:02 UTC
- status: open --> accepted
- assigned_to: Mark
kolomiets commented
Commented by mlmcl on 2014-10-28 13:02 UTC
Ouch...there's a leak. Thanks for the catch...
kolomiets commented
Updated by mlmcl on 2014-10-30 23:06 UTC
- status: accepted --> closed
kolomiets commented
Commented by mlmcl on 2014-10-30 23:06 UTC
Fixed...