summaryrefslogtreecommitdiffstats
path: root/source/libgpo
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
commit38b4fddf5dba8ff28274237fcf69d628dc06640d (patch)
treee0f3da83c430503515d00621145f8ffc2bdbdead /source/libgpo
parentdb499b515b3a9bcc44dbaa6837e1a2a90894d2a2 (diff)
downloadsamba-38b4fddf5dba8ff28274237fcf69d628dc06640d.tar.gz
samba-38b4fddf5dba8ff28274237fcf69d628dc06640d.tar.xz
samba-38b4fddf5dba8ff28274237fcf69d628dc06640d.zip
r22484: Check for the talloc_strdup to succeed.
Guenther
Diffstat (limited to 'source/libgpo')
-rw-r--r--source/libgpo/gpo_fetch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libgpo/gpo_fetch.c b/source/libgpo/gpo_fetch.c
index 3347a36b07e..abc5ab46844 100644
--- a/source/libgpo/gpo_fetch.c
+++ b/source/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;