1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

Fix double free.

Submitted by:	Alexander V. Chernikov <melifaro ipfw.ru>
This commit is contained in:
Gleb Smirnoff 2011-07-01 08:27:03 +00:00
parent 1bb71a0d86
commit 9b2139a27e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223706

View File

@ -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); item = ng_package_data(m, NG_NOFLAGS);
if (item == NULL) { if (item == NULL) {
m_free(m);
free(t, M_NETFLOW_GENERAL); free(t, M_NETFLOW_GENERAL);
return (NULL); return (NULL);
} }