Ver a proveniência

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

ahc_fix_select
tedbullock há 17 anos
ascendente
cometimento
056cafdee1
1 ficheiros alterados com 1 adições e 0 eliminações
  1. +1
    -0
      httperf/src/lib/queue.c

+ 1
- 0
httperf/src/lib/queue.c Ver ficheiro

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


Carregando…
Cancelar
Guardar