From: renato Date: Mon, 27 Jun 2016 19:08:39 +0000 (+0000) Subject: Remove superfluous call to l2vpn_pw_exit(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9c46b52f18e7fd7d55a2197def4b0e988148fafc;p=openbsd Remove superfluous call to l2vpn_pw_exit(). --- diff --git a/usr.sbin/ldpd/l2vpn.c b/usr.sbin/ldpd/l2vpn.c index 4a8d46c932d..0c973887a74 100644 --- a/usr.sbin/ldpd/l2vpn.c +++ b/usr.sbin/ldpd/l2vpn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: l2vpn.c,v 1.18 2016/06/18 17:13:05 renato Exp $ */ +/* $OpenBSD: l2vpn.c,v 1.19 2016/06/27 19:08:39 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -74,7 +74,6 @@ l2vpn_del(struct l2vpn *l2vpn) free(lif); } while ((pw = LIST_FIRST(&l2vpn->pw_list)) != NULL) { - l2vpn_pw_exit(pw); LIST_REMOVE(pw, entry); free(pw); }