Merge branch 'master' into stmt

This commit is contained in:
Brian Lopez 2010-10-15 22:38:06 -07:00
commit 4a5fcbae09
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ static VALUE nogvl_close(void * ptr) {
if (!wrapper->closed) {
wrapper->closed = 1;
mysql_close(wrapper->client);
wrapper->client->net.fd = -1;
if (!wrapper->freed) {
free(wrapper->client);
}