Skip to content

Fix memory leak in compiler_defines_for_extensions#2660

Open
svenvh wants to merge 1 commit intoKhronosGroup:mainfrom
svenvh:fix-compiler-defines-leak
Open

Fix memory leak in compiler_defines_for_extensions#2660
svenvh wants to merge 1 commit intoKhronosGroup:mainfrom
svenvh:fix-compiler-defines-leak

Conversation

@svenvh
Copy link
Copy Markdown
Member

@svenvh svenvh commented Apr 8, 2026

extensions was not freed on all possible error paths. Fix by converting to a std::vector, so that manual freeing is no longer needed.

`extensions` was not freed on all possible error paths.  Fix by
converting to a `std::vector`, so that manual freeing is no longer
needed.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
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.

3 participants