mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-03 16:00:36 +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
|
// 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