From 7ce2e0c8b08b9b569fb01be8fbfa836bf94fb6e8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 13 Jan 2010 09:51:23 +0100 Subject: [nat] Unregister the fd before leaving.. --- openbsc/src/nat/bsc_nat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 8dd42dc31..179923605 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -150,6 +150,7 @@ static int ipaccess_msc_cb(struct bsc_fd *bfd, unsigned int what) */ static void remove_bsc_connection(struct bsc_connection *connection) { + bsc_unregister_fd(&connection->bsc_fd); llist_del(&connection->list_entry); talloc_free(connection); } -- cgit v1.2.3