Fixed buffer free
Fixed buffer free
This commit is contained in:
@ -368,9 +368,10 @@ int query_len;
|
||||
}
|
||||
else if (strcasecmp(word, "@mariadb_slave_capability") == 0)
|
||||
{
|
||||
free(query_text);
|
||||
if (router->mariadb10_compat)
|
||||
if (router->mariadb10_compat) {
|
||||
free(query_text);
|
||||
return blr_slave_replay(router, slave, router->saved_master.mariadb10);
|
||||
}
|
||||
}
|
||||
else if (strcasecmp(word, "@master_binlog_checksum") == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user