On (07/10/14 17:06), Jakub Hrozek wrote:
On Tue, Oct 07, 2014 at 01:36:07PM +0200, Lukas Slebodnik wrote:
> On (07/10/14 13:32), Pavel Reichl wrote:
> >Hello,
> >
> >please see attached patch.
> >
> >I haven't run the tool which found these leaks as setting it is not IMO
quite
> >so easy, but I have contacted the reporter and asked him if he is willing to
> >participate at testing.
> >
> If you cannot test with gcc plugin could you write a unit test?
>
> LS
I thought that pyhbac was one of the rare parts of SSSD with a nice test
coverage?
and it will not catch the problem.
Can you test reference leaks at all?
It needn't be part of
our test suite. It can be simple python script which call
problematic funcions(methods) in infinite loop. Without patch, there should be
a leak.
LS