mirror of
https://github.com/adulau/ssldump.git
synced 2024-12-26 09:56:00 +00:00
Fix memory leak at connection closing
This commit is contained in:
parent
082cc7afed
commit
68255f5e9d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue