diff options
-rw-r--r-- | usr.sbin/ldpd/labelmapping.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/labelmapping.c b/usr.sbin/ldpd/labelmapping.c index 4e70f8f3592..2d2389c111f 100644 --- a/usr.sbin/ldpd/labelmapping.c +++ b/usr.sbin/ldpd/labelmapping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: labelmapping.c,v 1.60 2016/09/02 17:08:02 renato Exp $ */ +/* $OpenBSD: labelmapping.c,v 1.61 2016/09/02 17:16:24 renato Exp $ */ /* * Copyright (c) 2014, 2015 Renato Westphal <renato@openbsd.org> @@ -123,6 +123,7 @@ send_labelmessage(struct nbr *nbr, uint16_t type, struct mapping_head *mh) me->map.st.msg_id, me->map.st.msg_type); if (err) { ibuf_free(buf); + mapping_list_clr(mh); return; } |