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-03-30 10:45:48 +0200 |
commit | 22252a98e3a2c094edb9d179db8eddede517e339 (patch) | |
tree | 2353f1c4b628b1dc3b19f52c2a56ba5a70f791d2 /openbsc/src/nat/bsc_sccp.c | |
parent | 957bc93244224124a1fa5576c94953ae09bc984d (diff) |
sccp: Move the destruction of the sccp connection to a new place
Diffstat (limited to 'openbsc/src/nat/bsc_sccp.c')
-rw-r--r-- | openbsc/src/nat/bsc_sccp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openbsc/src/nat/bsc_sccp.c b/openbsc/src/nat/bsc_sccp.c index 2a9d8411f..995983f91 100644 --- a/openbsc/src/nat/bsc_sccp.c +++ b/openbsc/src/nat/bsc_sccp.c @@ -135,11 +135,7 @@ void remove_sccp_src_ref(struct bsc_connection *bsc, struct msgb *msg, struct bs if (bsc != conn->bsc) continue; - LOGP(DNAT, LOGL_DEBUG, "Destroy 0x%x <-> 0x%x mapping for con %p\n", - sccp_src_ref_to_int(&conn->real_ref), - sccp_src_ref_to_int(&conn->patched_ref), bsc); - llist_del(&conn->list_entry); - talloc_free(conn); + sccp_connection_destroy(conn); return; } } |