diff options
author | rowanbeentje <rowan@beent.je> | 2009-07-23 00:11:37 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-07-23 00:11:37 +0000 |
commit | aaf452b0385bf4cd37b939a0dfc1375e191380f5 (patch) | |
tree | b9c3b9d7bbe2dfd41737333eb0f509f5893dd66a /Frameworks/MCPKit | |
parent | 4b40211b434928dd88a99142a813b46a2dacc95a (diff) | |
download | sequelpro-aaf452b0385bf4cd37b939a0dfc1375e191380f5.tar.gz sequelpro-aaf452b0385bf4cd37b939a0dfc1375e191380f5.tar.bz2 sequelpro-aaf452b0385bf4cd37b939a0dfc1375e191380f5.zip |
- Fix a large memory leak in [MCPConnection prepareString]
Diffstat (limited to 'Frameworks/MCPKit')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m index 2871070f..e3d26aeb 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m @@ -1163,7 +1163,7 @@ static void forcePingTimeout(int signalNumber) // theReturn = [self stringWithCString:theCEscBuffer]; free(theCEscBuffer); - return theReturn; + return [theReturn autorelease]; } /** |