Skip to content

Commit

Permalink
Another attempt at the 0x338 crash (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoagx committed Jan 13, 2016
1 parent 7364a3b commit f278d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ - (BOOL)_connect
// If the connection was cancelled, clean up and don't continue
if (userTriggeredDisconnect) {
mysql_close(mySQLConnection);
[self _unlockConnection];
mySQLConnection = NULL;
[self _unlockConnection];
return NO;
}

Expand Down

0 comments on commit f278d9b

Please sign in to comment.