Re: [Linux-ha-dev] [PATCH] High: ccm: fix a memory leak when a client exits

2013-09-09 Thread Keisuke MORI
Hi, 2013/9/6 Lars Ellenberg lars.ellenb...@linbit.com: On Wed, Sep 04, 2013 at 08:16:44PM +0900, Keisuke MORI wrote: Hi, The attached patch will fix a memory leak in ccm that occurs whenever a ccm client disconnect. Thank you. This may introduce double free for client_delete_all() now?

Re: [Linux-ha-dev] [PATCH] High: ccm: fix a memory leak when a client exits

2013-09-06 Thread Lars Ellenberg
On Wed, Sep 04, 2013 at 08:16:44PM +0900, Keisuke MORI wrote: Hi, The attached patch will fix a memory leak in ccm that occurs whenever a ccm client disconnect. Thank you. This may introduce double free for client_delete_all() now? All this aparently useless indirection seems to be from a

[Linux-ha-dev] [PATCH] High: ccm: fix a memory leak when a client exits

2013-09-04 Thread Keisuke MORI
Hi, The attached patch will fix a memory leak in ccm that occurs whenever a ccm client disconnect. It would not affect to most of the installations because only crmd and cib are the client, but if you run any ccm client such as crm_node command periodically, ccm will increase its memory