Skip to content

Destroy global base allocator in the library destructor #235

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

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Feb 14, 2024

The global base allocator should be destroyed in the library destructor in order to avoid use-after-free.

@ldorau ldorau requested a review from a team as a code owner February 14, 2024 14:45
@bratpiorka bratpiorka requested a review from igchor February 14, 2024 15:08
The global base allocator should be destroyed in the library destructor
in order to avoid use-after-free.

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Destroy_global_base_allocator_in_the_library_destructor branch from 1991ee5 to 1e81cab Compare February 14, 2024 19:26
@ldorau ldorau merged commit 4ae8c9d into oneapi-src:main Feb 14, 2024
@ldorau ldorau deleted the Destroy_global_base_allocator_in_the_library_destructor branch February 14, 2024 20:53
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