aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-07-23 00:11:37 +0000
committerrowanbeentje <rowan@beent.je>2009-07-23 00:11:37 +0000
commitaaf452b0385bf4cd37b939a0dfc1375e191380f5 (patch)
treeb9c3b9d7bbe2dfd41737333eb0f509f5893dd66a /Frameworks/MCPKit
parent4b40211b434928dd88a99142a813b46a2dacc95a (diff)
downloadsequelpro-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.m2
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];
}
/**