diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 90fcb3773e..36d966126e 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2050,9 +2050,7 @@ char *myhostname(void) { static char *ret; if (ret == NULL) { - /* This is cached forever so - * use talloc_autofree_context() ctx. */ - ret = get_myname(talloc_autofree_context()); + ret = get_myname(NULL); } return ret; } |