Menu

#37 Test for NULL pointer when freeing/closing:

open
nobody
2017-11-23
2017-09-17
Anonymous
No

Originally created by: bert

if (f) fclose(f);

if (p) free(p);

p = NULL;

Discussion


Log in to post a comment.