Skip to content

Commit dcd7480

Browse files
committed
Fix leak in GPUImageContext BradLarson#2549
1 parent a587ac2 commit dcd7480

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

framework/Source/iOS/GPUImageContext.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ - (id)init;
4444
return self;
4545
}
4646

47+
- (void)dealloc {
48+
if (_coreVideoTextureCache != NULL) {
49+
CFRelease(_coreVideoTextureCache);
50+
}
51+
}
52+
53+
4754
+ (void *)contextKey {
4855
return openGLESContextQueueKey;
4956
}

0 commit comments

Comments
 (0)