Skip to content

Commit

Permalink
http_async_client: fix memory leak in pkg memory in case of error
Browse files Browse the repository at this point in the history
(cherry picked from commit bd35608)
  • Loading branch information
grumvalski committed Mar 5, 2017
1 parent b67b513 commit 9812a49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/http_async_client/http_multi.c
Expand Up @@ -316,6 +316,8 @@ void reply_error(struct http_m_cell *cell)

cell->cb(reply, cell->param);

pkg_free(reply);

return;
}

Expand Down

0 comments on commit 9812a49

Please sign in to comment.