diff options
Diffstat (limited to 'source3/torture/vfstest.c')
-rw-r--r-- | source3/torture/vfstest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index bb4dc35d2b..de68a0b3c5 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -561,8 +561,8 @@ int main(int argc, char *argv[]) /* some basic initialization stuff */ sec_init(); - conn_init(); - vfs.conn = conn_new(); + vfs.conn = TALLOC_ZERO_P(NULL, connection_struct); + vfs.conn->params = TALLOC_P(vfs.conn, struct share_params); for (i=0; i < 1024; i++) vfs.files[i] = NULL; @@ -605,7 +605,7 @@ int main(int argc, char *argv[]) SAFE_FREE(line); } - conn_free(vfs.conn); + TALLOC_FREE(vfs.conn); TALLOC_FREE(frame); return 0; } |