Hi,
the attached patch was provided by the reporter of
https://fedorahosted.org/sssd/ticket/2803 . I'm sending it here for
completeness.
I verified with valgrind that it fixes the memory leak and CI passes
http://sssd-ci.duckdns.org/logs/job/27/57/summary.html, so I gave ACK
and pushed it to
master: b4c44ebb8997d3debb33607c123ccfd9926e0cba
Since this is a memory leak we might want to add it to other branches as
well.
bye,
Sumit