commit | 8be49b36541c86da484133e71b98abdc8b457f15 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Mar 30 10:45:48 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:09 2010 +0800 |
tree | cde7c9e6df1bc7852d3da550296e9fa9dbae338f | |
parent | 75ee8419043f38844042e11f074071a207f05478 [diff] [blame] |
sccp: Move the destruction of the sccp connection to a new place
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 7d9cd89..c7c6c41 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c
@@ -334,8 +334,7 @@ continue; #warning "TODO: Send a RLSD to the MSC. Or at least a clear command." - llist_del(&sccp_patch->list_entry); - talloc_free(sccp_patch); + sccp_connection_destroy(sccp_patch); } talloc_free(connection);