aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2016-01-13 17:46:34 +0100
committerMax <post@wickenrode.com>2016-01-13 17:46:34 +0100
commitf278d9bae2d65593105fee457a7a69abf1ae9c9e (patch)
treece3f04149173bc2e494c7136a8b47915135dd8f4 /Frameworks/SPMySQLFramework
parent7364a3bad2807869566415ef5e9c28fb135415d9 (diff)
downloadsequelpro-f278d9bae2d65593105fee457a7a69abf1ae9c9e.tar.gz
sequelpro-f278d9bae2d65593105fee457a7a69abf1ae9c9e.tar.bz2
sequelpro-f278d9bae2d65593105fee457a7a69abf1ae9c9e.zip
Another attempt at the 0x338 crash (#2258)
Diffstat (limited to 'Frameworks/SPMySQLFramework')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
index 452844ab..f82a4241 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
@@ -465,8 +465,8 @@ asm(".desc ___crashreporter_info__, 0x10");
// If the connection was cancelled, clean up and don't continue
if (userTriggeredDisconnect) {
mysql_close(mySQLConnection);
- [self _unlockConnection];
mySQLConnection = NULL;
+ [self _unlockConnection];
return NO;
}