diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-07-22 13:09:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 13:09:51 +0300 |
commit | 843fa238563177f3ba9ee5a7a658517848bc481a (patch) | |
tree | 251ccf70b7c496180992fb1f32030218fe8ff4e2 /collectors/proc.plugin | |
parent | 8c9965eb606bfbd5454d10384fc1220c56d633bd (diff) |
Fix resource leak - CID 396310 (#15491)
Diffstat (limited to 'collectors/proc.plugin')
-rw-r--r-- | collectors/proc.plugin/sys_devices_system_edac_mc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/collectors/proc.plugin/sys_devices_system_edac_mc.c b/collectors/proc.plugin/sys_devices_system_edac_mc.c index ec492a526a..0947f61f09 100644 --- a/collectors/proc.plugin/sys_devices_system_edac_mc.c +++ b/collectors/proc.plugin/sys_devices_system_edac_mc.c @@ -121,6 +121,7 @@ static void find_all_mc() { DOUBLE_LINKED_LIST_APPEND_ITEM_UNSAFE(m->dimms, d, prev, next); } } + closedir(dir); } } |