mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
nspawn: fix minor memory leak
When rebooting nspawn containers about 400 times we'd otherwise hit the fd limit and refuse further reboots.
This commit is contained in:
parent
96d66d89c9
commit
3c747da38c
@ -413,6 +413,7 @@ PTYForward *pty_forward_free(PTYForward *f) {
|
||||
sd_event_source_unref(f->stdin_event_source);
|
||||
sd_event_source_unref(f->stdout_event_source);
|
||||
sd_event_source_unref(f->master_event_source);
|
||||
sd_event_source_unref(f->sigwinch_event_source);
|
||||
sd_event_unref(f->event);
|
||||
|
||||
if (f->saved_stdout)
|
||||
|
Loading…
Reference in New Issue
Block a user