Menu

#6 DsmMemFree - Validate

1.0
closed
Mark
None
2014-10-30
2014-10-27
No

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

1 Attachments

Discussion

  • Mark

    Mark - 2014-10-28

    Ouch...there's a leak. Thanks for the catch...

     
  • Mark

    Mark - 2014-10-28
    • status: open --> accepted
    • assigned_to: Mark
     
  • Mark

    Mark - 2014-10-30
    • status: accepted --> closed
     
  • Mark

    Mark - 2014-10-30

    Fixed...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.