Commit 0aae86589f0263d4ba30bc4f6d56fbb4bbb572b3

Authored by Georg Hopp
1 parent 90476e07

free reader (HttpRequestParser) when connection is closed

Showing 1 changed file with 1 additions and 0 deletions
... ... @@ -7,6 +7,7 @@ void
7 7 serverCloseConn(Server this, unsigned int i)
8 8 {
9 9 delete(&((this->conns)[i].sock));
  10 + delete(&((this->conns)[i].reader));
10 11 CLEAR_CONN(this, i);
11 12 this->nfds--;
12 13 }
... ...
Please register or login to post a comment