From 0844cca1d5e4579b54af7d03509f3f97fac43bdc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 13 Feb 2009 10:56:34 +0100 Subject: Replace get_myname() with the talloc version from v3-3-test --- source4/client/smbspool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/client') diff --git a/source4/client/smbspool.c b/source4/client/smbspool.c index df867d5fef..cfba5992d3 100644 --- a/source4/client/smbspool.c +++ b/source4/client/smbspool.c @@ -268,12 +268,12 @@ smb_connect(const char *workgroup, /* I - Workgroup */ * Get the names and addresses of the client and server... */ - myname = get_myname(); + myname = get_myname(NULL); nt_status = smbcli_full_connection(NULL, &c, myname, server, ports, share, NULL, username, workgroup, password, NULL); - free(myname); + talloc_free(myname); if (!NT_STATUS_IS_OK(nt_status)) { fprintf(stderr, "ERROR: Connection failed with error %s\n", nt_errstr(nt_status)); return NULL; -- cgit