Closed rhmccullough closed 9 years ago
That causes a crash. You also need to ensure it doesn't get freed twice, by setting it to NULL it out in the body of the code, after you free it. This is why C is hard...
Sorry. It seemed so simple & obvious, I didn't run all the tests. I won't make that mistake again.
check just before return at end of function