Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leaks #15

Merged

Conversation

norihiro
Copy link

Description

This PR fixes the mamory leaks that I found.
Also skip processing the shader if gs_effect_create returns NULL.

Motivation

Just using the shader filter, it leaks a lot of memory.

This PR is same as Oncorporation#10.

How has been tested

Tested on my Linux machine. Details are described in above PR.

@skeletonbow skeletonbow merged commit ce8e7bc into skeletonbow:SB-2.0-dev May 31, 2022
@norihiro norihiro deleted the SB-2.0-dev-fix-memory-leaks branch May 31, 2022 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OBS Shaderfilter leaks tonnes of memory even if it isn't used at all.
2 participants