commit | 7625506430ae173b97eb0a95d4f265ff2772082c | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Jan 13 09:51:23 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:05 2010 +0800 |
tree | 1de269d4b916a714e645a5b48579182dc8956fab | |
parent | 24614ad1c0c3fa3bcf393f57ddd154b2d286107f [diff] |
[nat] Unregister the fd before leaving..
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 8dd42dc..1799236 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c
@@ -150,6 +150,7 @@ */ static void remove_bsc_connection(struct bsc_connection *connection) { + bsc_unregister_fd(&connection->bsc_fd); llist_del(&connection->list_entry); talloc_free(connection); }