summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/time.c b/source4/lib/time.c
index e1f1395fea..b13ad24b34 100644
--- a/source4/lib/time.c
+++ b/source4/lib/time.c
@@ -347,7 +347,7 @@ char *timestring(TALLOC_CTX *mem_ctx, time_t t)
const char *nt_time_string(TALLOC_CTX *mem_ctx, NTTIME nt)
{
time_t t = nt_time_to_unix(nt);
- return talloc_strdup(mem_ctx, timestring(mem_ctx, t));
+ return timestring(mem_ctx, t);
}