We dereference this pointer immediately after this call, so we should be
sure it is not NULL.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
default:
{
TALLOC_CTX *frame = talloc_stackframe();
- struct samba_kdc_entry *p = talloc_get_type(entry->context,
- struct samba_kdc_entry);
+ struct samba_kdc_entry *p = talloc_get_type_abort(entry->context,
+ struct samba_kdc_entry);
struct dom_sid *sid
= samdb_result_dom_sid(frame, p->msg, "objectSid");
const char *account_name