Why does not work "sk_close(sk);rfree(sk);"?
This commit is contained in:
parent
46962be628
commit
489b21555e
1 changed files with 0 additions and 3 deletions
|
@ -75,17 +75,14 @@ downint(struct ospf_iface *ifa)
|
||||||
rem_node(NODE ifa);
|
rem_node(NODE ifa);
|
||||||
if(ifa->hello_sk!=NULL)
|
if(ifa->hello_sk!=NULL)
|
||||||
{
|
{
|
||||||
sk_close(ifa->hello_sk);
|
|
||||||
rfree(ifa->hello_sk);
|
rfree(ifa->hello_sk);
|
||||||
}
|
}
|
||||||
if(ifa->dr_sk!=NULL)
|
if(ifa->dr_sk!=NULL)
|
||||||
{
|
{
|
||||||
sk_close(ifa->dr_sk);
|
|
||||||
rfree(ifa->dr_sk);
|
rfree(ifa->dr_sk);
|
||||||
}
|
}
|
||||||
if(ifa->ip_sk!=NULL)
|
if(ifa->ip_sk!=NULL)
|
||||||
{
|
{
|
||||||
sk_close(ifa->ip_sk);
|
|
||||||
rfree(ifa->ip_sk);
|
rfree(ifa->ip_sk);
|
||||||
}
|
}
|
||||||
if(ifa->wait_timer!=NULL)
|
if(ifa->wait_timer!=NULL)
|
||||||
|
|
Loading…
Reference in a new issue