projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
29e3c6c
)
df: fix memory leak in error case
author
Toshiaki Takahashi
<takahashi.tsc@ncos.nec.co.jp>
Wed, 6 Dec 2017 12:19:41 +0000
(12:19 +0000)
committer
Florian Forster
<octo@collectd.org>
Thu, 7 Dec 2017 16:14:48 +0000
(17:14 +0100)
Because the memory of the STATANYFS list is not released
when the read callback function error occurs,
a memory leak may occur.
With this change, the memory is always released
by not returning in the loop.
Signed-off-by: Florian Forster <octo@collectd.org>
No differences found