3acc7e05 | 20-Jun-2014 |
Nuno Antunes <nuno.antunes@gmail.com> |
netgraph7: Plug item allocation leak in ng_socket.
* ng_connect_data() allocates a dummy item (which will not be sent) to address the destination node and obtain reference on it. This item need
netgraph7: Plug item allocation leak in ng_socket.
* ng_connect_data() allocates a dummy item (which will not be sent) to address the destination node and obtain reference on it. This item needs to be freed before returning from this function, so use ng_free_item() instead of the NOP NG_FREE_ITEM.
show more ...
|