Re: [fluid-dev] Small memory leak in tcp shell server.

2017-10-11 Thread Tom M.
handler = server->newclient(server->data, addr); newclient is a caller provided callback function to return any instance of fluid_cmd_handler_t. This instance is only *assigned* to any created fluid_client, it's not *owned* by it. Thus the caller would be responsible for delete_fluid_cmd_handler()

[fluid-dev] Small memory leak in tcp shell server.

2017-10-10 Thread Ceresa Jean-Jacques
Hi,   There is a small memory leak in tcp command shell server in v 1.1.6 and may be still present in v1.1.7 ?.   The memory leak is a lack of deletion of the command handler (fluid_cmd_handler_t). The command handler is created at client connection time, just before client creation task (i