MFC 1.7:
Plug item leak in case when not all hooks are connected. Found by: David Vos <david.vos gmail.com> Approved by: re (kensmith)
This commit is contained in:
parent
3a2f67e4e3
commit
f3983d158a
@ -142,6 +142,9 @@ ng_split_rcvdata(hook_p hook, item_p item)
|
||||
NG_FWD_ITEM_HOOK(error, item, priv->out);
|
||||
}
|
||||
|
||||
if (item)
|
||||
NG_FREE_ITEM(item);
|
||||
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user