summaryrefslogtreecommitdiff
path: root/sys/netinet/in.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-09-09 20:12:37 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-09-09 20:12:37 +0000
commit75d49b3c1cb9db881a3000bc950c3f14c7d762ae (patch)
tree1ed0234be138ad27b0ee6376c0477021c38ba8e8 /sys/netinet/in.c
parent02b52f299e9c798f4a25d324e0c9d243d1b6d474 (diff)
gotta if_put after you if_get
ok mpi@
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r--sys/netinet/in.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index 5063357db80..77f1c4f682d 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.c,v 1.121 2015/08/24 14:00:29 bluhm Exp $ */
+/* $OpenBSD: in.c,v 1.122 2015/09/09 20:12:36 dlg Exp $ */
/* $NetBSD: in.c,v 1.26 1996/02/13 23:41:39 christos Exp $ */
/*
@@ -880,6 +880,7 @@ in_delmulti(struct in_multi *inm)
ifma_list);
splx(s);
}
+ if_put(ifp);
free(inm, M_IPMADDR, sizeof(*inm));
}