mirror of
https://github.com/netdata/netdata.git
synced 2025-04-17 03:02:41 +00:00
Fix a memory leak (#6945)
This commit is contained in:
parent
fa747be4cb
commit
6acaac795b
1 changed files with 3 additions and 0 deletions
|
@ -1300,6 +1300,9 @@ inline void poll_close_fd(POLLINFO *pi) {
|
|||
freez(pi->client_port);
|
||||
pi->client_port = NULL;
|
||||
|
||||
freez(pi->client_host);
|
||||
pi->client_host = NULL;
|
||||
|
||||
pi->next = p->first_free;
|
||||
p->first_free = pi;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue