summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-27 07:13:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:16 -0500
commit5aedcc20667e21b4b0439232db71383c5c2b39fd (patch)
tree8ee6071e2d510800cf3a3bcdd1760e82527ee740 /source4
parentdb75b1c8f7a10b19511f94f798ce17e7101a87a3 (diff)
downloadsamba-5aedcc20667e21b4b0439232db71383c5c2b39fd.tar.gz
samba-5aedcc20667e21b4b0439232db71383c5c2b39fd.tar.bz2
samba-5aedcc20667e21b4b0439232db71383c5c2b39fd.zip
r5039: fixed eparser not to generate talloc_p()
(This used to be commit dd67a5d833d7e44ff0ec1ba9f5c55c2b1e121b9a)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/pidl/eparser.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm
index 1893a31573..dd60ff7729 100644
--- a/source4/build/pidl/eparser.pm
+++ b/source4/build/pidl/eparser.pm
@@ -60,7 +60,7 @@ sub ParseFunctionPull($)
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 @@ sub ParseFunctionPull($)
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";