mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
r22484: Check for the talloc_strdup to succeed.
Guenther
This commit is contained in:
parent
db499b515b
commit
38b4fddf5d
@ -188,6 +188,7 @@ NTSTATUS ads_gpo_get_sysvol_gpt_version(ADS_STRUCT *ads,
|
||||
|
||||
if (name && *display_name) {
|
||||
*display_name = talloc_strdup(mem_ctx, name);
|
||||
NT_STATUS_HAVE_NO_MEMORY(*display_name);
|
||||
}
|
||||
|
||||
return NT_STATUS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user