May as well zero out queue data before free() just in case of illegal access afterwards

Esse commit está contido em:
tedbullock 2007-07-16 05:09:54 +00:00
commit 056cafdee1

Ver arquivo

@ -99,6 +99,7 @@ void
free_queue(struct Queue *q)
{
if (q != NULL) {
empty_queue(q);
free(q);
}
}