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

input: fix memory leak with scalable input and nonscalable commands #15317

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

na-na-hi
Copy link
Contributor

With scalable input source, scale_units can be 0, and cmd is not freed. Fix this by freeing cmd when scale_units is 0.

Fixes: 9371286

With scalable input source, scale_units can be 0, and cmd is not
freed. Fix this by freeing cmd when scale_units is 0.

Fixes: 9371286
Copy link

Download the artifacts for this pull request:

Windows
macOS

@sfan5 sfan5 merged commit 1c9d066 into mpv-player:master Nov 16, 2024
25 checks passed
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.

2 participants