From: Ondrej Zajicek Date: Wed, 3 Nov 2010 09:04:46 +0000 (+0100) Subject: Fixes a bug in OSPF. X-Git-Tag: v1.3.0~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3209d939d4d0d8801432f212edd4302a7d03633;p=thirdparty%2Fbird.git Fixes a bug in OSPF. --- diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 04868baaf..cc4052742 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); } }