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

conversions: fix memory leak from excess gMTdata initialization #1787

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Jul 13, 2023

gMTdata was initialized twice, but freed only once.

Drop the first initialization with a local seed, and initialize with gRandomSeed instead.

`gMTdata` was initialized twice, but freed only once.

Drop the first initialization with a local seed, and initialize with
`gRandomSeed` instead.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
@svenvh svenvh merged commit e29d0fd into KhronosGroup:main Aug 1, 2023
6 checks passed
@svenvh svenvh deleted the conv-random branch August 1, 2023 08:49
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