diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-10-28 15:54:14 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-10-28 15:54:14 +0000 |
commit | f7556b6ed677eb6277a011c25042757836aaf192 (patch) | |
tree | 4445eb298f766d6a657d1625b9e248321d9994ea | |
parent | adc7d3574fc47e5d7b4c17d6fc172759264ef56b (diff) |
Free correct buffer.
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <henning@openbsd.org> @@ -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); |