summaryrefslogtreecommitdiff
path: root/macosx/EmuThread.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-10 20:46:32 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-10 20:46:32 +0000
commit7c6a7978c020b739e755c2bed56f91c5b7adf509 (patch)
tree618bfce436fcc3bb78722da2e7e2023616b0479f /macosx/EmuThread.m
parente66ba25d49a90a20e2465cadeef8e2e83ce291bc (diff)
downloadpcsxr-7c6a7978c020b739e755c2bed56f91c5b7adf509.tar.gz
Use strlcpy on OS X code.
> Better handling of the net system on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82182 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/EmuThread.m')
-rwxr-xr-xmacosx/EmuThread.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/EmuThread.m b/macosx/EmuThread.m
index ceeeb486..fa062366 100755
--- a/macosx/EmuThread.m
+++ b/macosx/EmuThread.m
@@ -80,6 +80,7 @@ static NSString * const ThreadInfo = @"PSX Emu Background thread";
psxCpu->Execute();
done:
+ AUTORELEASEOBJNORETURN(emuThread);
emuThread = nil;
return;
@@ -115,6 +116,7 @@ static NSString * const ThreadInfo = @"PSX Emu Background thread";
psxCpu->Execute();
done:
+ AUTORELEASEOBJNORETURN(emuThread);
emuThread = nil;
return;