diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2017-02-06 18:55:20 -0800 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2017-02-06 18:55:20 -0800 |
commit | e61260dbffc501f705146868de3b1d7d435bb299 (patch) | |
tree | b435bd503cbec097137b96b44630b9ae287de3ae | |
parent | 82ac823737bab7a6492ee9681ce236907d720797 (diff) | |
download | sdl_ios-e61260dbffc501f705146868de3b1d7d435bb299.tar.gz |
Set compressionSession to null so we do not accidentally over-release it.hotfix/issue_518
-rw-r--r-- | SmartDeviceLink/SDLStreamingMediaManager.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink/SDLStreamingMediaManager.m index 55a361bc7..d05daa93e 100644 --- a/SmartDeviceLink/SDLStreamingMediaManager.m +++ b/SmartDeviceLink/SDLStreamingMediaManager.m @@ -377,6 +377,7 @@ NS_ASSUME_NONNULL_BEGIN if (self.compressionSession != NULL) { VTCompressionSessionInvalidate(self.compressionSession); CFRelease(self.compressionSession); + self.compressionSession = NULL; } } |