May as well zero out queue data before free() just in case of illegal access afterwards
Dieser Commit ist enthalten in:
Ursprung
938c4ed349
Commit
056cafdee1
@ -99,6 +99,7 @@ void
|
||||
free_queue(struct Queue *q)
|
||||
{
|
||||
if (q != NULL) {
|
||||
empty_queue(q);
|
||||
free(q);
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren