4 ms·
> Except free(NULL) behavior is undefined. > Have you ever bothered to read ANSI C specification? You mean the one that states > The free function causes the
by masklinn 12y ago
> Except free(NULL) behavior is undefined.
> Have you ever bothered to read ANSI C specification?
You mean the one that states
> The free function causes the space pointed to by ptr to be deallocated, that is, made available for further allocation. If ptr is a null pointer, no action occurs.
?