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

Fixed LoadSoundAlias() memory leak #3458

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Commits on Oct 23, 2023

  1. Fixes a memory leak as a result of creating an AudioBuffer* with the …

    …old source.frameCount. This internally allocates memory to the structs data pointer which is then later overridden by the correct sound data of the source sound.
    
    Additionally added a volume assignment from old to new as currently there is no way to get the volume of a sound and the AudioBuffer struct is not reachable from user code due to opaque definition.
    gk646 committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    cd8ac90 View commit details
    Browse the repository at this point in the history