summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-09-13 17:47:08 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-09-13 17:47:08 +0000
commitf58ea870ea0479d5c53f38454eb1192f2da705e2 (patch)
treea055c4bfb95bec17bbd9edb81eeefe9a82ecfc13 /sys
parent87d1ea8035078393b5c1c8c107c5e6d3ae0b84d0 (diff)
if_put() after if_get().
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/igmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c
index 1f35662e7a4..0a29dea107e 100644
--- a/sys/netinet/igmp.c
+++ b/sys/netinet/igmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: igmp.c,v 1.52 2015/09/11 19:31:38 dlg Exp $ */
+/* $OpenBSD: igmp.c,v 1.53 2015/09/13 17:47:07 mpi Exp $ */
/* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */
/*
@@ -548,6 +548,7 @@ igmp_leavegroup(struct in_multi *inm)
break;
}
splx(s);
+ if_put(ifp);
}
void