1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Merge pull request #55 from FaramosCZ/patch-4

Fix: use after free()
This commit is contained in:
Georg Richter
2018-05-30 07:12:34 +02:00
committed by GitHub

View File

@@ -4637,7 +4637,6 @@ static int test_stmt_close(MYSQL *mysql)
FAIL_IF(mysql_stmt_param_count(stmt2) != 1, "param_count != 1");
rc= mysql_stmt_close(stmt1);
check_stmt_rc(rc, stmt1);
/*
Originally we were going to close all statements automatically in