You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
fix memory leaks to keep LeakSanitizer happy
This commit is contained in:
@@ -347,6 +347,8 @@ static int bulk_null(MYSQL *mysql)
|
||||
check_stmt_rc(rc, stmt);
|
||||
|
||||
mysql_stmt_close(stmt);
|
||||
free(buf[0]);
|
||||
free(buf[1]);
|
||||
free(buf);
|
||||
rc= mysql_query(mysql, "DROP TABLE IF EXISTS bulk_null");
|
||||
check_mysql_rc(rc, mysql);
|
||||
|
Reference in New Issue
Block a user