summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-04-23 10:04:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:38 -0500
commit3ab204936e886d548c86c07805e9fae439bd36bf (patch)
treeeba91d292c791bb37e4fbb9a8908b74447d48622
parent678ca586f046dc61691267b3e9b6b95cc385c4e3 (diff)
downloadsamba-3ab204936e886d548c86c07805e9fae439bd36bf.tar.gz
samba-3ab204936e886d548c86c07805e9fae439bd36bf.tar.bz2
samba-3ab204936e886d548c86c07805e9fae439bd36bf.zip
r22484: Check for the talloc_strdup to succeed.
Guenther (This used to be commit 38b4fddf5dba8ff28274237fcf69d628dc06640d)
-rw-r--r--source3/libgpo/gpo_fetch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libgpo/gpo_fetch.c b/source3/libgpo/gpo_fetch.c
index 3347a36b07..abc5ab4684 100644
--- a/source3/libgpo/gpo_fetch.c
+++ b/source3/libgpo/gpo_fetch.c
@@ -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;