diff options
author | Max <post@wickenrode.com> | 2016-03-06 01:20:45 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2016-03-06 01:23:02 +0100 |
commit | dfc79b8c7ee2d37108b9e36822af95cfa4a31a07 (patch) | |
tree | f6f05a34da8420639978b96294ee9e5301aacf16 /Source | |
parent | 1e4d40f9a8dbc49e43d3e950a0a9121c7cb010f9 (diff) | |
download | sequelpro-dfc79b8c7ee2d37108b9e36822af95cfa4a31a07.tar.gz sequelpro-dfc79b8c7ee2d37108b9e36822af95cfa4a31a07.tar.bz2 sequelpro-dfc79b8c7ee2d37108b9e36822af95cfa4a31a07.zip |
Change a potentially risky call (hopefully a fix for #2436)
Diffstat (limited to 'Source')
-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 965dfcb5..f386a04c 100644 --- a/Source/SPDatabaseData.m +++ b/Source/SPDatabaseData.m @@ -221,7 +221,7 @@ copy_return: } } } - return defaultCollationForCharacterSet; + return [[defaultCollationForCharacterSet copy] autorelease]; // -copy accepts nil, -stringWithString: does not } /** Get the name of the mysql charset a given collation belongs to. |