commit | 72b187be6dcd16427677beaaaaa5080ffaf9188c | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@soleta.eu> | Thu Aug 28 12:46:41 2014 +0200 |
committer | Pablo Neira Ayuso <pablo@soleta.eu> | Thu Aug 28 12:47:21 2014 +0200 |
tree | 7fe4fe3056e85256031e02991067143766c9ce29 | |
parent | b769f3ce0bc1bf88f907856182f9fc6f871bbfef [diff] |
osmux: cleanup osmux input handle on release Use osmux_xfrm_input_fini() to release the internal state of the osmux input handle.
diff --git a/openbsc/src/libmgcp/osmux.c b/openbsc/src/libmgcp/osmux.c index 0a58a2e..15dd613 100644 --- a/openbsc/src/libmgcp/osmux.c +++ b/openbsc/src/libmgcp/osmux.c
@@ -91,6 +91,7 @@ inet_ntoa(h->rem_addr), ntohs(h->rem_port)); llist_del(&h->head); + osmux_xfrm_input_fini(h->in); talloc_free(h); } return;