1
0
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:
Sergei Golubchik
2019-03-05 00:28:28 +01:00
parent 255f3432a0
commit 4ac8030b33
3 changed files with 7 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ static int test_rpl_01(MYSQL *mysql)
printf("event: %d\n", event->event_type);
}
mariadb_free_rpl_event(event);
mariadb_rpl_close(rpl);
return OK;
}