svn commit: samba r5039 - in branches/SAMBA_4_0/source/build/pidl: .

tridge at samba.org tridge at samba.org
Thu Jan 27 07:13:31 GMT 2005


Author: tridge
Date: 2005-01-27 07:13:31 +0000 (Thu, 27 Jan 2005)
New Revision: 5039

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5039

Log:
fixed eparser not to generate talloc_p()


Modified:
   branches/SAMBA_4_0/source/build/pidl/eparser.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/eparser.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/eparser.pm	2005-01-27 07:09:42 UTC (rev 5038)
+++ branches/SAMBA_4_0/source/build/pidl/eparser.pm	2005-01-27 07:13:31 UTC (rev 5039)
@@ -60,7 +60,7 @@
 	pidl "int $fn->{NAME}_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)\n{\n";
 
 	pidl "\tstruct pidl_pull *ndr = pidl_pull_init(tvb, offset, pinfo, drep);\n";
-	pidl "\tstruct $fn->{NAME} *r = talloc_p(NULL, struct $fn->{NAME});\n";
+	pidl "\tstruct $fn->{NAME} *r = talloc(NULL, struct $fn->{NAME});\n";
 	pidl "\tpidl_tree ptree;\n\n";
 
 	pidl "\tptree.proto_tree = tree;\n";
@@ -75,7 +75,7 @@
 	pidl "int $fn->{NAME}_resp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)\n{\n";
 
 	pidl "\tstruct pidl_pull *ndr = pidl_pull_init(tvb, offset, pinfo, drep);\n";
-	pidl "\tstruct $fn->{NAME} *r = talloc_p(NULL, struct $fn->{NAME});\n";
+	pidl "\tstruct $fn->{NAME} *r = talloc(NULL, struct $fn->{NAME});\n";
 	pidl "\tpidl_tree ptree;\n\n";
 
 	pidl "\tptree.proto_tree = tree;\n";



More information about the samba-cvs mailing list