From f3aec0e5a520e3f513b6f341d4349e28b7aa82b3 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 16 May 2019 15:48:07 +0000 Subject: Fix small memory leak in testapp.c. Only affects unit test application. --- testapp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'testapp.c') 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 "); -- cgit v1.2.1