Skip to content

Commit f5a4c73

Browse files
committed
Fix memory leak in unittest
1 parent 2c5bb13 commit f5a4c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/libmariadb/ps_bugs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5514,7 +5514,7 @@ static int test_conc627(MYSQL *mysql)
55145514
static int test_conc633(MYSQL *mysql)
55155515
{
55165516
MYSQL_STMT *stmt= mysql_stmt_init(mysql);
5517-
MYSQL *my= mysql_init(NULL);
5517+
MYSQL *my= NULL;
55185518
int ret= FAIL;
55195519
int rc;
55205520

0 commit comments

Comments
 (0)