rcthomas / resist

BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Could resist_free also set the pointer to NULL? #37

Closed rcthomas closed 7 years ago

rcthomas commented 7 years ago

In #31 we addressed asserting that the allocation succeeded. I'm wondering if it would be good to just move the setting of a pointer to NULL after free() is called into resist_free() as well?