diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-05-01 10:42:29 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-05-01 10:42:29 +0000 |
commit | ea51f26a9ea20a6a28bf9c568c913175d6989102 (patch) | |
tree | e248997fa2444e60960e0be41dc9e039b828dccd /usr.sbin | |
parent | 25bee6f33d0fd89324484168c7fc695d6e378004 (diff) |
Free cname and rcname on exit. Found by Milosz Jakubowski
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 15d6953e72b..7a177fab6a2 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.166 2010/09/02 14:03:21 sobrado Exp $ */ +/* $OpenBSD: bgpd.c,v 1.167 2011/05/01 10:42:28 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -368,6 +368,8 @@ main(int argc, char *argv[]) free(ibuf_se); msgbuf_clear(&ibuf_rde->w); free(ibuf_rde); + free(rcname); + free(cname); log_info("Terminating"); return (0); |