diff options
author | David Carlier <dcarlier@afilias.info> | 2019-05-16 15:48:07 +0000 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2019-05-20 13:20:47 -0700 |
commit | f3aec0e5a520e3f513b6f341d4349e28b7aa82b3 (patch) | |
tree | 077979eb05e93549cc357e22fdca6f7e024785ed /testapp.c | |
parent | f635646f529bab158933bfce701c0ad02343f727 (diff) | |
download | memcached-f3aec0e5a520e3f513b6f341d4349e28b7aa82b3.tar.gz |
Fix small memory leak in testapp.c.
Only affects unit test application.
Diffstat (limited to 'testapp.c')
-rw-r--r-- | testapp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 "); |