summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/libnet/libnet_domain.c')
-rw-r--r--source4/torture/libnet/libnet_domain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/libnet/libnet_domain.c b/source4/torture/libnet/libnet_domain.c
index 48bbd1eb2b..24431de54a 100644
--- a/source4/torture/libnet/libnet_domain.c
+++ b/source4/torture/libnet/libnet_domain.c
@@ -180,7 +180,7 @@ BOOL torture_domain_close_lsa(struct torture_context *torture)
{
BOOL ret = True;
NTSTATUS status;
- TALLOC_CTX *mem_ctx;
+ TALLOC_CTX *mem_ctx=NULL;
struct libnet_context *ctx;
struct lsa_String domain_name;
struct dcerpc_binding *binding;
@@ -254,7 +254,7 @@ BOOL torture_domain_open_samr(struct torture_context *torture)
NTSTATUS status;
const char *binding;
struct libnet_context *ctx;
- struct event_context *evt_ctx;
+ struct event_context *evt_ctx=NULL;
TALLOC_CTX *mem_ctx;
struct policy_handle domain_handle, handle;
struct lsa_String name;
@@ -312,7 +312,7 @@ BOOL torture_domain_close_samr(struct torture_context *torture)
{
BOOL ret = True;
NTSTATUS status;
- TALLOC_CTX *mem_ctx;
+ TALLOC_CTX *mem_ctx=NULL;
struct libnet_context *ctx;
struct lsa_String domain_name;
struct dcerpc_binding *binding;