diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-01-12 08:47:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:50:55 -0500 |
commit | 4c6b9c79ff5d35e1d03ad5eb543db4b6b906b5ce (patch) | |
tree | 3e44600c1fe104e9d847b079488e9079db766e4f | |
parent | adab8d3968ce2bf18eab6b89375050ebf6630f08 (diff) | |
download | samba-4c6b9c79ff5d35e1d03ad5eb543db4b6b906b5ce.tar.gz samba-4c6b9c79ff5d35e1d03ad5eb543db4b6b906b5ce.tar.bz2 samba-4c6b9c79ff5d35e1d03ad5eb543db4b6b906b5ce.zip |
r12864: Fix valgrind errors in NET-API-LOOKUP* tests.
Andrew Bartlett
(This used to be commit 21f87f87a9b79da4463bddc993df502beae50a16)
-rw-r--r-- | source4/torture/libnet/libnet_lookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/libnet/libnet_lookup.c b/source4/torture/libnet/libnet_lookup.c index c95ee58e49..6011d5492c 100644 --- a/source4/torture/libnet/libnet_lookup.c +++ b/source4/torture/libnet/libnet_lookup.c @@ -42,6 +42,7 @@ BOOL torture_lookup(void) lookup.in.hostname = lp_parm_string(-1, "torture", "host"); lookup.in.type = NBT_NAME_CLIENT; + lookup.in.methods = NULL; lookup.out.address = &address; status = libnet_Lookup(ctx, mem_ctx, &lookup); @@ -77,6 +78,7 @@ BOOL torture_lookup_host(void) address = talloc_array(mem_ctx, const char, 16); lookup.in.hostname = lp_parm_string(-1, "torture", "host"); + lookup.in.methods = NULL; lookup.out.address = &address; status = libnet_LookupHost(ctx, mem_ctx, &lookup); |