mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
cgroup: fix resource leak, found by Coverity Scan
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
3de9643893
commit
85fa0d4926
1 file changed
+2
@@ -212,6 +212,8 @@ static void cgroup_handle_event(char *event, uint32_t mask)
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
static void cgroup_events_cb(uev_t *w, void *arg, int events)
|
||||
|
||||
Reference in new issue
Block a user