diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-30 10:45:48 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:09 +0800 |
commit | 23fe7be1ca7b2b057ebaf3563cfed56a3056f9e6 (patch) | |
tree | cde7c9e6df1bc7852d3da550296e9fa9dbae338f /openbsc/src/nat/bsc_nat.c | |
parent | 49c7fb52f00816522a17abab9a5e7e277b1717f2 (diff) |
sccp: Move the destruction of the sccp connection to a new place
Diffstat (limited to 'openbsc/src/nat/bsc_nat.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 7d9cd899e..c7c6c4135 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -334,8 +334,7 @@ static void remove_bsc_connection(struct bsc_connection *connection) 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); |