From 9b2139a27eb95490c79b2697fcfd6b8c2f7aac6e Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Fri, 1 Jul 2011 08:27:03 +0000 Subject: [PATCH] Fix double free. Submitted by: Alexander V. Chernikov --- sys/netgraph/netflow/netflow_v9.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/netgraph/netflow/netflow_v9.c b/sys/netgraph/netflow/netflow_v9.c index bd8deaa92989..31304d78ab69 100644 --- a/sys/netgraph/netflow/netflow_v9.c +++ b/sys/netgraph/netflow/netflow_v9.c @@ -398,7 +398,6 @@ get_export9_dgram(priv_p priv, fib_export_p fe, struct netflow_v9_packet_opt **t item = ng_package_data(m, NG_NOFLAGS); if (item == NULL) { - m_free(m); free(t, M_NETFLOW_GENERAL); return (NULL); }