aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index b6512f5a..bc71d6ee 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1584,7 +1584,7 @@
if (isWorking) {
pthread_mutex_lock(&resultDataLock);
if (rowIndex < resultDataCount && columnIndex < [resultData columnCount]) {
- theValue = SPDataStorageObjectAtRowAndColumn(resultData, rowIndex, columnIndex);
+ theValue = [[SPDataStorageObjectAtRowAndColumn(resultData, rowIndex, columnIndex) copy] autorelease];
}
pthread_mutex_unlock(&resultDataLock);