Browse Source

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

ahc_fix_select
tedbullock 17 years ago
parent
commit
056cafdee1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      httperf/src/lib/queue.c

+ 1
- 0
httperf/src/lib/queue.c View File

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


Loading…
Cancel
Save