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

fix memory leack in the test

This commit is contained in:
Oleksandr Byelkin
2021-01-28 11:20:35 +01:00
parent e21d21d71f
commit e62ff462c5

View File

@@ -2718,8 +2718,8 @@ static int test_bug5194(MYSQL *mysql)
free(param_str);
free(query);
// rc= mysql_stmt_close(stmt);
// check_stmt_rc(rc, stmt);
rc= mysql_stmt_close(stmt);
check_stmt_rc(rc, stmt);
free(my_bind);
stmt_text= "drop table t1";
rc= mysql_real_query(mysql, SL(stmt_text));