[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [libhivex] Memory leak in hivex_node_delete_child?



> On Nov 11, 2014, at 4:41 AM, Pino Toscano <ptoscano redhat com> wrote:
> 
> Hi,
> 
> It seems like rather hivex_node_delete_child leaks the "blocks" array 
> returned by _hivex_get_children every time. The patch should be easy, 
> would you be able to give it a try to check whether it fixes the leak in 
> your application?

Awesome, thanks!

It does indeed look like the right (and easy) fix. I was concentrating my effort on the exceptions as it didn't occur to me it was in the normal course of action!

Thanks. I'll test it and be back. 

Cheers,

Mahmoud


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]