[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-706-g99d6f49

Stefan Metzmacher metze at samba.org
Mon Feb 11 08:26:11 GMT 2008


The branch, v4-0-test has been updated
       via  99d6f49340d6f190ac318af939eeec17c29f1bbd (commit)
      from  67074ff4aa06d56fb84752d39132d33d5599ca7f (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 99d6f49340d6f190ac318af939eeec17c29f1bbd
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Feb 11 08:44:56 2008 +0100

    pidl/Samba3::ServerNDR: use talloc_tos() instead of NULL
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index ca9e7d1..4af9da0 100644
--- a/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@ -100,7 +100,7 @@ sub ParseFunction($$)
 	pidl "";
 	pidl "call = &ndr_table_$if->{NAME}.calls[$op];";
 	pidl "";
-	pidl "r = talloc(NULL, struct $fn->{NAME});";
+	pidl "r = talloc(talloc_tos(), struct $fn->{NAME});";
 	pidl "if (r == NULL) {";
 	pidl "\treturn false;";
 	pidl "}";


-- 
Samba Shared Repository


More information about the samba-cvs mailing list