Fix memory leak of sss_result in sudo_sss_lookup()
Coverity CID 104106
This commit is contained in:
@@ -1203,6 +1203,8 @@ sudo_sss_lookup(struct sudo_nss *nss, int ret, int pwflag)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
done:
|
done:
|
||||||
|
handle->fn_free_result(sss_result);
|
||||||
|
|
||||||
sudo_debug_printf(SUDO_DEBUG_DIAG, "Done with LDAP searches");
|
sudo_debug_printf(SUDO_DEBUG_DIAG, "Done with LDAP searches");
|
||||||
|
|
||||||
if (!ISSET(ret, VALIDATE_SUCCESS)) {
|
if (!ISSET(ret, VALIDATE_SUCCESS)) {
|
||||||
|
Reference in New Issue
Block a user