From 5aedcc20667e21b4b0439232db71383c5c2b39fd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 27 Jan 2005 07:13:31 +0000 Subject: r5039: fixed eparser not to generate talloc_p() (This used to be commit dd67a5d833d7e44ff0ec1ba9f5c55c2b1e121b9a) --- source4/build/pidl/eparser.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/build') 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"; -- cgit