diff options
author | stuconnolly <stuart02@gmail.com> | 2010-12-28 01:13:37 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-12-28 01:13:37 +0000 |
commit | 16341191bcc112fcf18ddaed2d4755b11479ba45 (patch) | |
tree | eae22eea2992fdf992d9c481988cf4ac324b981a | |
parent | 79743cca20cc056ef9f24ca664557e55e7d34cc2 (diff) | |
download | sequelpro-16341191bcc112fcf18ddaed2d4755b11479ba45.tar.gz sequelpro-16341191bcc112fcf18ddaed2d4755b11479ba45.tar.bz2 sequelpro-16341191bcc112fcf18ddaed2d4755b11479ba45.zip |
Protect against potentially over-releasing.
-rw-r--r-- | Source/SPIndexesController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPIndexesController.m b/Source/SPIndexesController.m index 16d9b4f6..27b4471d 100644 --- a/Source/SPIndexesController.m +++ b/Source/SPIndexesController.m @@ -189,7 +189,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize"; } } - [indexedFieldNames release]; + if (initialField) [indexedFieldNames release], initialField = nil; // Reset the indexed columns [indexedFields removeAllObjects]; |