diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-07-10 04:16:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-10 04:16:54 +0300 |
commit | b91c1db0d51bd0e263ea8da462ac3cc585ca90e2 (patch) | |
tree | 6dca9c53c83490473a9ffa8fb64d3897377ac702 | |
parent | c1fa79d2b2e792563ef2acfcb6ff2e8aae719e54 (diff) | |
parent | 66a533182a6117aeab404cca1dd688f0bac5237a (diff) |
Merge PR #62: Fix memory leak in MKConnection allocating MKCryptState
-rw-r--r-- | src/MKConnection.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/MKConnection.m b/src/MKConnection.m index aeca86f..4735993 100644 --- a/src/MKConnection.m +++ b/src/MKConnection.m @@ -243,6 +243,8 @@ static void MKConnectionUDPCallback(CFSocketRef sock, CFSocketCallBackType type, [[MKAudio sharedAudio] setMainConnectionForAudio:nil]; } while (_reconnect); + + [_crypt release]; [NSThread exit]; } @@ -1284,4 +1286,4 @@ out: return _shouldUseOpus; } -@end
\ No newline at end of file +@end |