author | Florian Forster <octo@collectd.org> | |
Wed, 10 Jun 2015 07:39:24 +0000 (08:39 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 10 Jun 2015 07:39:24 +0000 (08:39 +0100) | ||
commit | d4f303606ea68f2f12c561772e5500e5a17e4c55 | |
tree | 896952fc9b137b1e7864d239ec63d4ed4561ab2f | tree | snapshot |
parent | f59691501672c4589b49d11fc1865b6893874bb4 | commit | diff |
tcpconns plugin: Fix memory leak.
"prev" was set to NULL and never updated, leading to "port_list_head" to
be set to an entry later in the list. This leaks memory because earlier
entries in the list are now unreachable.
Fixes: #1074
"prev" was set to NULL and never updated, leading to "port_list_head" to
be set to an entry later in the list. This leaks memory because earlier
entries in the list are now unreachable.
Fixes: #1074
src/tcpconns.c | diff | blob | history |