1
0
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:
Günther Deschner 2007-04-23 10:04:15 +00:00 committed by Gerald (Jerry) Carter
parent db499b515b
commit 38b4fddf5d

View File

@ -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;