summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-14 03:59:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-14 19:53:06 +0100
commitdb4ee4cce5f1fd84f3f0a331e769a70394126ca5 (patch)
treec8092699c9c0be394e77c98ea1570ab719c7ebba /source4/pidl
parentd5903fd75e9640831f0e78fc04d3ffa5ea3b1b4a (diff)
downloadsamba-db4ee4cce5f1fd84f3f0a331e769a70394126ca5.tar.gz
samba-db4ee4cce5f1fd84f3f0a331e769a70394126ca5.tar.bz2
samba-db4ee4cce5f1fd84f3f0a331e769a70394126ca5.zip
python: Fix rpcecho tests.
(This used to be commit ebb78ea4232c1614755844849580e3697b0a53fa)
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Python.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
index f569f013dc..266a092788 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -491,8 +491,8 @@ sub Interface($$$)
$self->indent;
$self->pidl("$interface->{NAME}_InterfaceObject *ret;");
$self->pidl("const char *binding_string;");
- $self->pidl("struct cli_credentials *credentials;");
- $self->pidl("struct loadparm_context *lp_ctx;");
+ $self->pidl("struct cli_credentials *credentials = NULL;");
+ $self->pidl("struct loadparm_context *lp_ctx = NULL;");
$self->pidl("TALLOC_CTX *mem_ctx = NULL;");
$self->pidl("NTSTATUS status;");
$self->pidl("");