aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-12-28 01:13:37 +0000
committerstuconnolly <stuart02@gmail.com>2010-12-28 01:13:37 +0000
commit16341191bcc112fcf18ddaed2d4755b11479ba45 (patch)
treeeae22eea2992fdf992d9c481988cf4ac324b981a /Source
parent79743cca20cc056ef9f24ca664557e55e7d34cc2 (diff)
downloadsequelpro-16341191bcc112fcf18ddaed2d4755b11479ba45.tar.gz
sequelpro-16341191bcc112fcf18ddaed2d4755b11479ba45.tar.bz2
sequelpro-16341191bcc112fcf18ddaed2d4755b11479ba45.zip
Protect against potentially over-releasing.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPIndexesController.m2
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];