Fix double free.
Submitted by: Alexander V. Chernikov <melifaro ipfw.ru>
This commit is contained in:
parent
1bb71a0d86
commit
9b2139a27e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user