История изменений
Исправление bugfixer, (текущая версия) :
Это после free тоже запрещено.
Hold on. Кто-то ссылался на 7.20.3(.2). И где здесь что-то написано про «низзя»? Я на неправильную pdf’ку смотрю?
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. Otherwise, if the argument does not match a pointer earlier returned by the calloc, malloc, or realloc function, or if the space has been deallocated by a call to free or realloc, the behavior is undefined.
Исходная версия bugfixer, :
Это после free тоже запрещено.
Hold on. Кто-то ссылался на 7.20.3(.2). И где здесь что-то написано про «низзя»? Я на неправильную pdf’ку смотрю?
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. Otherwise, if
the argument does not match a pointer earlier returned by the calloc, malloc, or realloc function, or if the space has been deallocated by a call to free or realloc,
the behavior is undefined.