diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-03-16 10:31:06 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-18 19:45:00 -0400 |
commit | 3e9e1ee4678b38044cbce7ace7e34d4b6aa19c53 (patch) | |
tree | 0206ce66d1fd8511791bc6a02a43a266059bd3af /server/tests | |
parent | dd4568a18e9b0512bee8d55af640514ee5445243 (diff) | |
download | sssd-3e9e1ee4678b38044cbce7ace7e34d4b6aa19c53.tar.gz sssd-3e9e1ee4678b38044cbce7ace7e34d4b6aa19c53.tar.bz2 sssd-3e9e1ee4678b38044cbce7ace7e34d4b6aa19c53.zip |
Fix segfault error caused by a double free
In delete_callback we were freeing rep after having called return_done()
This caused a double free becuse rep is already freed as child of the request
when return_done calles the callback. To avoid future errors like this convert
return_error and return_done into functions and make them always be the last
call of the function and call them as part of the function return.
Diffstat (limited to 'server/tests')
0 files changed, 0 insertions, 0 deletions