diff options
author | Max <post@wickenrode.com> | 2015-01-04 21:15:43 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-01-04 21:15:43 +0100 |
commit | e201531daa71ee1a2e2a0f927c619947126c9d3d (patch) | |
tree | 9b43cecf579b4318ec9b8f04c970a40c3232ba15 /Source/SPDatabaseStructure.m | |
parent | 5b55d8c4d24b0c24a5dc74a49cfd70448146d582 (diff) | |
download | sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.gz sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.tar.bz2 sequelpro-e201531daa71ee1a2e2a0f927c619947126c9d3d.zip |
Addition to commit 2735e15b
Diffstat (limited to 'Source/SPDatabaseStructure.m')
-rw-r--r-- | Source/SPDatabaseStructure.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/SPDatabaseStructure.m b/Source/SPDatabaseStructure.m index b34522c5..2eab3562 100644 --- a/Source/SPDatabaseStructure.m +++ b/Source/SPDatabaseStructure.m @@ -567,7 +567,7 @@ [[NSNotificationCenter defaultCenter] removeObserver:self]; [self destroy:nil]; - [structureRetrievalThreads release]; + SPClear(structureRetrievalThreads); pthread_mutex_destroy(&threadManagementLock); pthread_mutex_destroy(&dataLock); @@ -630,8 +630,7 @@ } pthread_mutex_unlock(&threadManagementLock); - [mySQLConnection release]; - mySQLConnection = nil; + SPClear(mySQLConnection); } // Create a copy of the supplied connection |