Procházet zdrojové kódy

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

ahc_fix_select
tedbullock před 17 roky
rodič
revize
056cafdee1
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. +1
    -0
      httperf/src/lib/queue.c

+ 1
- 0
httperf/src/lib/queue.c Zobrazit soubor

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


Načítá se…
Zrušit
Uložit