changeset 2948:d836f3aefbea

iOS: Remove autorelease from dw_vdebug() to prevent crashes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 02 Jan 2023 20:39:44 +0000
parents edb4307ac7ce
children a1d0522d7edf
files ios/dw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ios/dw.m	Mon Jan 02 13:49:59 2023 +0000
+++ b/ios/dw.m	Mon Jan 02 20:39:44 2023 +0000
@@ -4374,7 +4374,7 @@
 
 void API dw_vdebug(const char *format, va_list args)
 {
-   NSString *nformat = [[NSString stringWithUTF8String:format] autorelease];
+   NSString *nformat = [NSString stringWithUTF8String:format];
 
    NSLogv(nformat, args);
 }