Merge pull request #58 from yallop/free-con

Transfused: free connection objects when read returns 0.
This commit is contained in:
Justin Cormack 2016-03-29 16:54:13 +01:00
commit 6f9f612cad

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