You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't leak the MYSQL connection handle if there was an exception earlier
The function `disconnect_and_raise` set connected = 0, which prevented
freeing the MYSQL connection handle. Switch to simply checking whether
the pointer to MYSQL handle is NULL or not before freeing it. Thanks to
Chris Bandy for noticing this problem while working on Client#close.
0 commit comments