Fixed memleak in example httpd :/

dynamic-accesslists
erdgeist 18 years ago
parent 6286c1cea5
commit de03db7dcd

@ -429,7 +429,7 @@ emerge:
{ {
array_trunc(&h->r); array_trunc(&h->r);
iob_reset(&h->iob); iob_reset(&h->iob);
free(h->hdrbuf); h->hdrbuf=0; free(h->hdrbuf); h->hdrbuf=0; free(h);
io_close(i); io_close(i);
} }
} }

Loading…
Cancel
Save