diff options
Diffstat (limited to 'Source/SPDatabaseData.m')
-rw-r--r-- | Source/SPDatabaseData.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDatabaseData.m b/Source/SPDatabaseData.m index a49248d1..4c99b97e 100644 --- a/Source/SPDatabaseData.m +++ b/Source/SPDatabaseData.m @@ -299,7 +299,7 @@ NSInteger _sortStorageEngineEntry(NSDictionary *itemOne, NSDictionary *itemTwo, [result setReturnDataAsStrings:YES]; - defaultCharacterSetEncoding = [[result getRowAsDictionary] objectForKey:@"Value"]; + defaultCharacterSetEncoding = [[[result getRowAsDictionary] objectForKey:@"Value"] retain]; } return defaultCharacterSetEncoding; |