diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-11-13 13:33:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:46 -0500 |
commit | d309966e3191405f5a17555c394b4a1934fbfcab (patch) | |
tree | 77dc6dbc91b660cfda9d0a62271081742c55abce | |
parent | eabdfac14e3157add0e2dd1f82a87e4687f7e9c2 (diff) | |
download | samba-d309966e3191405f5a17555c394b4a1934fbfcab.tar.gz samba-d309966e3191405f5a17555c394b4a1934fbfcab.tar.bz2 samba-d309966e3191405f5a17555c394b4a1934fbfcab.zip |
r3723: Now that timestring() always returns talloc'ed memory, we don't need
this talloc strdup here (do we?).
Andrew Bartlett
(This used to be commit d6aca06793b4bc72399c7357c5f357d6db036513)
-rw-r--r-- | source4/lib/time.c | 2 |
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); } |