From 16341191bcc112fcf18ddaed2d4755b11479ba45 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 28 Dec 2010 01:13:37 +0000 Subject: Protect against potentially over-releasing. --- Source/SPIndexesController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3