diff --git a/framework/Source/iOS/GPUImageContext.m b/framework/Source/iOS/GPUImageContext.m index c167d15d2..0238825f9 100755 --- a/framework/Source/iOS/GPUImageContext.m +++ b/framework/Source/iOS/GPUImageContext.m @@ -44,6 +44,12 @@ - (id)init; return self; } +- (void)dealloc { + if (_coreVideoTextureCache != NULL) { + CFRelease(_coreVideoTextureCache); + } +} + + (void *)contextKey { return openGLESContextQueueKey; }