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:
glebius 2005-03-10 19:34:20 +00:00
parent 09b13cd3a3
commit 469e3f3b6a

View File

@ -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 { \