Y
Hacker News
new
|
ask
|
show
|
jobs
by
etimberg
4624 days ago
you'd probably want to zero the length in the list structure and remove the dangling pointer to the first element otherwise you run the risk of a double-free.