From d3209d939d4d0d8801432f212edd4302a7d03633 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 3 Nov 2010 10:04:46 +0100 Subject: [PATCH] Fixes a bug in OSPF. --- proto/ospf/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 04868baa..cc405274 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -721,7 +721,7 @@ ospf_iface_change_mtu(struct proto_ospf *po, struct ospf_iface *ifa) if (ntohs(op->length) <= ifa->iface->mtu) /* If the packet in old buffer is bigger, let it filled by zeros */ memcpy(n->ldbdes, op, ifa->iface->mtu); /* If the packet is old is same or smaller, copy it */ - rfree(op); + mb_free(op); } }