diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-11-28 03:56:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-11-28 03:56:30 +0000 |
commit | eec9e8a052407611df223fec982588e7a2bd7f49 (patch) | |
tree | 70742ae3dd80f86aca5b61afc079811d8aa2f826 /source3/torture | |
parent | a6b73b9767524fa6997bd31398d558a7cf1e4ac8 (diff) | |
download | samba-eec9e8a052407611df223fec982588e7a2bd7f49.tar.gz samba-eec9e8a052407611df223fec982588e7a2bd7f49.tar.bz2 samba-eec9e8a052407611df223fec982588e7a2bd7f49.zip |
fix a bunch of places where we can double-free a cli structure
(This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/locktest.c | 1 | ||||
-rw-r--r-- | source3/torture/locktest2.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c index 8606c9e38a..4e5d630f30 100644 --- a/source3/torture/locktest.c +++ b/source3/torture/locktest.c @@ -249,7 +249,6 @@ static void reconnect(struct cli_state *cli[NSERVERS][NCONNECTIONS], int fnum[NS } cli_ulogoff(cli[server][conn]); cli_shutdown(cli[server][conn]); - SAFE_FREE(cli[server][conn]); } cli[server][conn] = connect_one(share[server]); if (!cli[server][conn]) { diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 49c8b2a8a9..175039bd14 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -266,7 +266,6 @@ static void reconnect(struct cli_state *cli[NSERVERS][NCONNECTIONS], } cli_ulogoff(cli[server][conn]); cli_shutdown(cli[server][conn]); - SAFE_FREE(cli[server][conn]); } cli[server][conn] = connect_one(share[server]); if (!cli[server][conn]) { |