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