Commit 4893b4173e3060d461b748f6bda115caece484e1
1 parent
5b3fed54
fix leak on shutdown created because of missing to delete new stream class on shutdown
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -82,6 +82,7 @@ serverDtor(void * _this) | @@ -82,6 +82,7 @@ serverDtor(void * _this) | ||
82 | if (this->sock->handle != (this->fds)[i].fd) { | 82 | if (this->sock->handle != (this->fds)[i].fd) { |
83 | delete((this->conns[(this->fds)[i].fd]).sock); | 83 | delete((this->conns[(this->fds)[i].fd]).sock); |
84 | delete((this->conns[(this->fds)[i].fd]).worker); | 84 | delete((this->conns[(this->fds)[i].fd]).worker); |
85 | + delete((this->conns[(this->fds)[i].fd]).stream); | ||
85 | } | 86 | } |
86 | } | 87 | } |
87 | 88 |
Please
register
or
login
to post a comment