diff --git a/maxscale-system-test/mxs1776_ps_exec_hang.cpp b/maxscale-system-test/mxs1776_ps_exec_hang.cpp index 262131a89..09c41799c 100644 --- a/maxscale-system-test/mxs1776_ps_exec_hang.cpp +++ b/maxscale-system-test/mxs1776_ps_exec_hang.cpp @@ -154,6 +154,7 @@ int main(int argc, char* argv[]) while (mysql_stmt_fetch(stmt) == 0) { mysql_query(conn, "SELECT 1"); + mysql_free_result(mysql_store_result(conn)); } return rval;