[Devel] Re: [PATCH] Fix memory leak in cleanup_ipv6_mibs()

David Stevens dlstevens at us.ibm.com
Wed Oct 17 09:23:39 PDT 2007


Acked-by: David L Stevens <dlstevens at us.ibm.com>
 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
> 
> ---
> 
> diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
> index bc92938..1b1caf3 100644
> --- a/net/ipv6/af_inet6.c
> +++ b/net/ipv6/af_inet6.c
> @@ -747,6 +747,7 @@ static void cleanup_ipv6_mibs(void)
>  {
>     snmp_mib_free((void **)ipv6_statistics);
>     snmp_mib_free((void **)icmpv6_statistics);
> +   snmp_mib_free((void **)icmpv6msg_statistics);
>     snmp_mib_free((void **)udp_stats_in6);
>     snmp_mib_free((void **)udplite_stats_in6);
>  }
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html




More information about the Devel mailing list