Plug item leak in macro NG_RESPOND_MSG. Item was leaked when destination
node couldn't be addressed. Submitted by: Roselyn Lee
This commit is contained in:
parent
09b13cd3a3
commit
469e3f3b6a
@ -948,6 +948,7 @@ _ngi_hook(item_p item, char *file, int line)
|
||||
SAVE_LINE(item); \
|
||||
(error) = ng_snd_item((item), 1); \
|
||||
} else { \
|
||||
NG_FREE_ITEM(item); \
|
||||
(error) = EINVAL; \
|
||||
} \
|
||||
} else { \
|
||||
|
Loading…
Reference in New Issue
Block a user