summaryrefslogtreecommitdiff
path: root/source3/lib/util_names.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-02-06 13:22:33 +0100
committerJeremy Allison <jra@samba.org>2020-02-07 17:00:42 +0000
commitdaaf550e194b6163a17295ac984ee6f0012c6d99 (patch)
tree4df94a91d14f521fc9fe4aa7f51f528e2d014e86 /source3/lib/util_names.c
parent3894f878183e645421ec440afd8e010218a58eef (diff)
downloadsamba-daaf550e194b6163a17295ac984ee6f0012c6d99.tar.gz
s3:lib: Use a static buffer for (local|remote)_machine
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/util_names.c')
-rw-r--r--source3/lib/util_names.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/util_names.c b/source3/lib/util_names.c
index dc5c530346c..f33a8a7d1ab 100644
--- a/source3/lib/util_names.c
+++ b/source3/lib/util_names.c
@@ -81,7 +81,6 @@ static bool set_my_netbios_names(const char *name, int i)
void gfree_names(void)
{
free_netbios_names_array();
- free_local_machine_name();
}
const char *my_netbios_names(int i)