Transfused: free connection objects when read returns 0.

This commit is contained in:
Jeremy Yallop 2016-03-29 16:37:51 +01:00
parent dfeda82352
commit f23b6d7596

View File

@ -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;
}