From f7556b6ed677eb6277a011c25042757836aaf192 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 28 Oct 2009 15:54:14 +0000 Subject: Free correct buffer. --- usr.sbin/bgpd/rde.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/bgpd') diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 7c99313bbe3..bdbf390b64e 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.271 2009/10/26 09:27:58 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.272 2009/10/28 15:54:13 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -360,7 +360,7 @@ rde_main(struct bgpd_config *config, struct peer *peer_l, close(mctx->mrt.wbuf.fd); LIST_REMOVE(&mctx->ribctx, entry); LIST_REMOVE(mctx, entry); - free(mrt); + free(mctx); } msgbuf_clear(&ibuf_se->w); -- cgit v1.2.3