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 for CONC-518:
Check if mysql->options.extension was allocated before checking async_context: this is handled by IS_MYSQL_ASYNC() macro now.
This commit is contained in:
@@ -1701,7 +1701,7 @@ error:
|
||||
/* only free the allocated memory, user needs to call mysql_close */
|
||||
mysql_close_memory(mysql);
|
||||
if (!(client_flag & CLIENT_REMEMBER_OPTIONS) &&
|
||||
!mysql->options.extension->async_context)
|
||||
!(IS_MYSQL_ASYNC(mysql)))
|
||||
mysql_close_options(mysql);
|
||||
return(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user