May as well zero out queue data before free() just in case of illegal access afterwards
这个提交包含在:
父节点
938c4ed349
当前提交
056cafdee1
@ -99,6 +99,7 @@ void
|
||||
free_queue(struct Queue *q)
|
||||
{
|
||||
if (q != NULL) {
|
||||
empty_queue(q);
|
||||
free(q);
|
||||
}
|
||||
}
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户