Преглед на файлове

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

ahc_fix_select
tedbullock преди 17 години
родител
ревизия
056cafdee1
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. +1
    -0
      httperf/src/lib/queue.c

+ 1
- 0
httperf/src/lib/queue.c Целия файл

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


Зареждане…
Отказ
Запис