diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-03-18 19:22:44 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-19 10:55:13 -0400 |
commit | 900e0249d73a1911c81ef8d0c96fb8f59b42b948 (patch) | |
tree | 51daff4c84841839e2f90c2125e0afdbe8c17108 /scripts | |
parent | dff0e9c3bbe69d3bd89639fe08774cab83cc810b (diff) | |
download | sssd-900e0249d73a1911c81ef8d0c96fb8f59b42b948.tar.gz sssd-900e0249d73a1911c81ef8d0c96fb8f59b42b948.tar.bz2 sssd-900e0249d73a1911c81ef8d0c96fb8f59b42b948.zip |
Fix multiple errors with destructors.
This commits cleans up 3 segfaults/valgrind errors due to access
to freed memory.
1. The spy wasn't clearing conn_spy causing the svc_destructor to try
to clear the spy destructor when the spy was already freed
2. get_config_service was not setting the svc_destrcutor on services
depending on the orderof frees at exit this was causing the spy
destructor to try to access freed memory because it was not
neutralized when the service was freed.
3. at exit the mt_ctx could be freed before services causing the
svc_destrcutor to try to access freed memory when removing the
service from the service list in the monitor context.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions