Skip to content

Commit

Permalink
Fix leak in GPUImageContext BradLarson#2549
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Z committed Jul 2, 2024
1 parent a587ac2 commit dcd7480
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions framework/Source/iOS/GPUImageContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ - (id)init;
return self;
}

- (void)dealloc {
if (_coreVideoTextureCache != NULL) {
CFRelease(_coreVideoTextureCache);
}
}


+ (void *)contextKey {
return openGLESContextQueueKey;
}
Expand Down

0 comments on commit dcd7480

Please sign in to comment.