Re: [PATCH] Fix potential memory leak in tipc_named_node_up()

2007-05-29 Thread Jesper Juhl
On 29/05/07, Björn Steinbrink <[EMAIL PROTECTED]> wrote: On 2007.05.28 22:58:08 +0200, Jesper Juhl wrote: > There seems to be a memory leak in net/tipc/name_distr.c::tipc_named_node_up() > > The function, with comments, is this : > > void tipc_named_node_up(unsigned long node) > { > struc

Re: [PATCH] Fix potential memory leak in tipc_named_node_up()

2007-05-28 Thread Björn Steinbrink
On 2007.05.28 22:58:08 +0200, Jesper Juhl wrote: > There seems to be a memory leak in net/tipc/name_distr.c::tipc_named_node_up() > > The function, with comments, is this : > > void tipc_named_node_up(unsigned long node) > { > struct publication *publ; > struct distr_item *item =

[PATCH] Fix potential memory leak in tipc_named_node_up()

2007-05-28 Thread Jesper Juhl
There seems to be a memory leak in net/tipc/name_distr.c::tipc_named_node_up() The function, with comments, is this : void tipc_named_node_up(unsigned long node) { struct publication *publ; struct distr_item *item = NULL; struct sk_buff *buf = NULL; u32 left = 0;