[nat] Unregister the fd before leaving..
This commit is contained in:
parent
24614ad1c0
commit
7625506430
|
@ -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)
|
static void remove_bsc_connection(struct bsc_connection *connection)
|
||||||
{
|
{
|
||||||
|
bsc_unregister_fd(&connection->bsc_fd);
|
||||||
llist_del(&connection->list_entry);
|
llist_del(&connection->list_entry);
|
||||||
talloc_free(connection);
|
talloc_free(connection);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue