0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 03:02:41 +00:00

Fix a memory leak ()

This commit is contained in:
Vladimir Kobal 2019-09-25 14:51:17 +03:00 committed by GitHub
parent fa747be4cb
commit 6acaac795b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;