summaryrefslogtreecommitdiff
path: root/testapp.c
diff options
context:
space:
mode:
authorDavid Carlier <dcarlier@afilias.info>2019-05-16 15:48:07 +0000
committerdormando <dormando@rydia.net>2019-05-20 13:20:47 -0700
commitf3aec0e5a520e3f513b6f341d4349e28b7aa82b3 (patch)
tree077979eb05e93549cc357e22fdca6f7e024785ed /testapp.c
parentf635646f529bab158933bfce701c0ad02343f727 (diff)
downloadmemcached-f3aec0e5a520e3f513b6f341d4349e28b7aa82b3.tar.gz
Fix small memory leak in testapp.c.
Only affects unit test application.
Diffstat (limited to 'testapp.c')
-rw-r--r--testapp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testapp.c b/testapp.c
index 96a4afb..4b43036 100644
--- a/testapp.c
+++ b/testapp.c
@@ -707,6 +707,7 @@ static enum test_return test_issue_102(void) {
/* verify that the server closed the connection */
assert(con->read(con, buffer, sizeof(buffer)) == 0);
+ close_conn();
con = connect_server("127.0.0.1", port, false, enable_ssl);
snprintf(buffer, sizeof(buffer), "gets ");