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