Skip to content

Commit d4d0af0

Browse files
committed
Free requests array on shutdown
Spotted by Raphael Kubo da Costa
1 parent b57d2b8 commit d4d0af0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lwan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ lwan_init(lwan_t *l)
554554
void
555555
lwan_shutdown(lwan_t *l)
556556
{
557+
free(l->requests);
557558
lwan_trie_destroy(l->url_map_trie);
558559
_thread_shutdown(l);
559560
_socket_shutdown(l);

0 commit comments

Comments
 (0)