Why does not work "sk_close(sk);rfree(sk);"?

This commit is contained in:
Ondrej Filip 2000-05-31 18:36:51 +00:00
parent 46962be628
commit 489b21555e

View file

@ -75,17 +75,14 @@ downint(struct ospf_iface *ifa)
rem_node(NODE ifa);
if(ifa->hello_sk!=NULL)
{
sk_close(ifa->hello_sk);
rfree(ifa->hello_sk);
}
if(ifa->dr_sk!=NULL)
{
sk_close(ifa->dr_sk);
rfree(ifa->dr_sk);
}
if(ifa->ip_sk!=NULL)
{
sk_close(ifa->ip_sk);
rfree(ifa->ip_sk);
}
if(ifa->wait_timer!=NULL)