From 489b21555e59d39d1c26dd3051f077c6f0a07c85 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 31 May 2000 18:36:51 +0000 Subject: Why does not work "sk_close(sk);rfree(sk);"? --- proto/ospf/iface.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'proto/ospf/iface.c') diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index d0bd089e..befcf7fd 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -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) -- cgit v1.2.3