[nat] Unregister the fd before leaving..

This commit is contained in:
Holger Hans Peter Freyther 2010-01-13 09:51:23 +01:00
parent 24614ad1c0
commit 7625506430
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}