svn commit: samba r22484 - in branches: SAMBA_3_0/source/libgpo
SAMBA_3_0_25/source/libgpo
gd at samba.org
gd at samba.org
Mon Apr 23 10:04:16 GMT 2007
Author: gd
Date: 2007-04-23 10:04:15 +0000 (Mon, 23 Apr 2007)
New Revision: 22484
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22484
Log:
Check for the talloc_strdup to succeed.
Guenther
Modified:
branches/SAMBA_3_0/source/libgpo/gpo_fetch.c
branches/SAMBA_3_0_25/source/libgpo/gpo_fetch.c
Changeset:
Modified: branches/SAMBA_3_0/source/libgpo/gpo_fetch.c
===================================================================
--- branches/SAMBA_3_0/source/libgpo/gpo_fetch.c 2007-04-23 09:56:54 UTC (rev 22483)
+++ branches/SAMBA_3_0/source/libgpo/gpo_fetch.c 2007-04-23 10:04:15 UTC (rev 22484)
@@ -188,6 +188,7 @@
if (name && *display_name) {
*display_name = talloc_strdup(mem_ctx, name);
+ NT_STATUS_HAVE_NO_MEMORY(*display_name);
}
return NT_STATUS_OK;
Modified: branches/SAMBA_3_0_25/source/libgpo/gpo_fetch.c
===================================================================
--- branches/SAMBA_3_0_25/source/libgpo/gpo_fetch.c 2007-04-23 09:56:54 UTC (rev 22483)
+++ branches/SAMBA_3_0_25/source/libgpo/gpo_fetch.c 2007-04-23 10:04:15 UTC (rev 22484)
@@ -188,6 +188,7 @@
if (name && *display_name) {
*display_name = talloc_strdup(mem_ctx, name);
+ NT_STATUS_HAVE_NO_MEMORY(*display_name);
}
return NT_STATUS_OK;
More information about the samba-cvs
mailing list