diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-11 08:44:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-11 08:44:56 +0100 |
commit | dbba1925d15046dbb837b6e2d48ca38cbd4ed426 (patch) | |
tree | fb4d523d523a024bc595c981e6606747e2292833 /source4/pidl/lib/Parse | |
parent | b090c021661429259aad6d7bcc6ec8df7f680b43 (diff) | |
download | samba-dbba1925d15046dbb837b6e2d48ca38cbd4ed426.tar.gz samba-dbba1925d15046dbb837b6e2d48ca38cbd4ed426.tar.bz2 samba-dbba1925d15046dbb837b6e2d48ca38cbd4ed426.zip |
pidl/Samba3::ServerNDR: use talloc_tos() instead of NULL
metze
(This used to be commit 99d6f49340d6f190ac318af939eeec17c29f1bbd)
Diffstat (limited to 'source4/pidl/lib/Parse')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index ca9e7d15db..4af9da0f52 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/source4/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 "}"; |