summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-11 10:37:00 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-11 10:37:00 +0000
commit3607b3ccab8d7f5c0dbc455dafbfdea5b8e72e37 (patch)
tree979c71b24a65f96a90a789ebdcedece021dbc78e /source3/utils
parent9bb0a964bfd8e016cbd187c3943ba6fdfaf4d65b (diff)
downloadsamba-3607b3ccab8d7f5c0dbc455dafbfdea5b8e72e37.tar.gz
samba-3607b3ccab8d7f5c0dbc455dafbfdea5b8e72e37.tar.bz2
samba-3607b3ccab8d7f5c0dbc455dafbfdea5b8e72e37.zip
prevent double free
(This used to be commit 3628a978d1881aa2a0939594b1c752475468965e)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_time.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c
index 8d0c854e28..f99eb9054d 100644
--- a/source3/utils/net_time.c
+++ b/source3/utils/net_time.c
@@ -58,8 +58,6 @@ static time_t cli_servertime(const char *host, struct in_addr *ip)
ret = cli->servertime;
- cli_shutdown(cli);
-
done:
if (cli) cli_shutdown(cli);
return ret;