mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +00:00
Transfused: free connection objects when read returns 0.
This commit is contained in:
parent
dfeda82352
commit
f23b6d7596
@ -753,6 +753,7 @@ void process_events(char * events_path, int events, parameters * params) {
|
|||||||
// not dropping the read 0 to force short read if
|
// not dropping the read 0 to force short read if
|
||||||
// the real read is flushed
|
// the real read is flushed
|
||||||
log_time(conn, "read 0 from event stream %s\n", events_path);
|
log_time(conn, "read 0 from event stream %s\n", events_path);
|
||||||
|
free(conn);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user