Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

double m_free() - not critical. from niklas@openbsd

  • Loading branch information...
commit fdcfbba2bf8649101a98c74f53909ce1689f8a1f 1 parent b01e601
itojun authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 kame/sys/netinet6/ip6_mroute.c
View
6 kame/sys/netinet6/ip6_mroute.c
@@ -1,4 +1,4 @@
-/* $KAME: ip6_mroute.c,v 1.62 2002/03/10 10:58:09 jinmei Exp $ */
+/* $KAME: ip6_mroute.c,v 1.63 2002/03/24 20:43:56 itojun Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -1772,10 +1772,8 @@ register_send(ip6, mif, m, src, dst)
if (i > len)
i = len;
mm = m_pullup(mm, i);
- if (mm == NULL){
- m_freem(mm);
+ if (mm == NULL)
return ENOBUFS;
- }
/* TODO: check it! */
mm->m_pkthdr.len = len + sizeof(struct ip6_hdr);
Please sign in to comment.
Something went wrong with that request. Please try again.