diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-01 23:25:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:25 -0500 |
commit | 4fe2da62796e3c46497a9aa5b3e37890b6d0dd9c (patch) | |
tree | 24da0c6a517c774fe64a8ccd47fabab751d57a1b /source4/torture/basic/scanner.c | |
parent | c09c89a8a7ca5769fb8c0995779b9134f1618cf0 (diff) | |
download | samba-4fe2da62796e3c46497a9aa5b3e37890b6d0dd9c.tar.gz samba-4fe2da62796e3c46497a9aa5b3e37890b6d0dd9c.tar.bz2 samba-4fe2da62796e3c46497a9aa5b3e37890b6d0dd9c.zip |
r24874: Fix double free of smbcli_tree.
(This used to be commit 84f14b5dd042f8805e69ad455b222a76614dbe21)
Diffstat (limited to 'source4/torture/basic/scanner.c')
-rw-r--r-- | source4/torture/basic/scanner.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/torture/basic/scanner.c b/source4/torture/basic/scanner.c index 0a1cfc2e01..f68674911f 100644 --- a/source4/torture/basic/scanner.c +++ b/source4/torture/basic/scanner.c @@ -473,8 +473,8 @@ static BOOL scan_nttrans(struct smbcli_state *cli, int op, int level, } -BOOL torture_nttrans_scan(struct torture_context *torture, - struct smbcli_state *cli) +bool torture_nttrans_scan(struct torture_context *torture, + struct smbcli_state *cli) { int op, level; const char *fname = "\\scanner.dat"; @@ -499,8 +499,6 @@ BOOL torture_nttrans_scan(struct torture_context *torture, } } - torture_close_connection(cli); - printf("nttrans scan finished\n"); return True; } |