Fix memory leak at connection closing

This commit is contained in:
William Robinet 2015-04-17 10:59:26 +02:00
parent 082cc7afed
commit 68255f5e9d

View file

@ -158,6 +158,7 @@ int tcp_destroy_conn(conn)
free_tcp_segment_queue(conn->i2r.oo_queue);
free_tcp_segment_queue(conn->r2i.oo_queue);
zero_conn(conn);
free(conn);
return(0);
}