diff options
author | bamse16 <marius@marius.me.uk> | 2009-06-05 15:07:25 +0000 |
---|---|---|
committer | bamse16 <marius@marius.me.uk> | 2009-06-05 15:07:25 +0000 |
commit | 67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece (patch) | |
tree | 14dbf0a8861ade6a232dfe2d0fdfab0807375aa5 /Source/CMMCPConnection.m | |
parent | b3d173a9bf9ade79a06202b5666b105936ef0dff (diff) | |
download | sequelpro-67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece.tar.gz sequelpro-67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece.tar.bz2 sequelpro-67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece.zip |
Fixed some memory leaks found using llvm/clang. There are still some to fix
Diffstat (limited to 'Source/CMMCPConnection.m')
-rw-r--r-- | Source/CMMCPConnection.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/CMMCPConnection.m b/Source/CMMCPConnection.m index 4ee9263e..478d5684 100644 --- a/Source/CMMCPConnection.m +++ b/Source/CMMCPConnection.m @@ -929,7 +929,6 @@ static void forcePingTimeout(int signalNumber) lastKeepAliveSuccess = [[NSDate alloc] initWithTimeIntervalSinceNow:0]; } - /* * Modified version of the original to support a supplied encoding. * For internal use only. Transforms a NSString to a C type string (ending with \0). @@ -948,4 +947,9 @@ static void forcePingTimeout(int signalNumber) return (const char *)[theData bytes]; } -@end +- (void) dealloc +{ + [super dealloc]; +} + +@end
\ No newline at end of file |