diff options
author | Max <post@wickenrode.com> | 2016-03-06 01:20:45 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2016-03-06 01:20:45 +0100 |
commit | fad5dd8e734a3639e02b64038a0b36d4304a1ea8 (patch) | |
tree | 6877594b661d2d6ddbe5f058920c50ba033b0db5 /Source/SPDatabaseData.m | |
parent | 393e467ed367e669d6aaa8ae4921d06cff3652f3 (diff) | |
download | sequelpro-fad5dd8e734a3639e02b64038a0b36d4304a1ea8.tar.gz sequelpro-fad5dd8e734a3639e02b64038a0b36d4304a1ea8.tar.bz2 sequelpro-fad5dd8e734a3639e02b64038a0b36d4304a1ea8.zip |
Change a potentially risky call (hopefully a fix for #2436)
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 2d1d4f14..1d5339d9 100644 --- a/Source/SPDatabaseData.m +++ b/Source/SPDatabaseData.m @@ -219,7 +219,7 @@ copy_return: } } } - return defaultCollationForCharacterSet; + return [[defaultCollationForCharacterSet copy] autorelease]; // -copy accepts nil, -stringWithString: does not } /** |