Skip to content

Conversation

@cmc-rep
Copy link
Contributor

@cmc-rep cmc-rep commented Mar 23, 2021

Signed-off-by: Gang Y Chen gang.y.chen@intel.com

Signed-off-by: Gang Y Chen <gang.y.chen@intel.com>
@kbobrovs kbobrovs merged commit 0bd0d44 into intel:sycl Mar 24, 2021
jsji pushed a commit that referenced this pull request Nov 4, 2025
Compiling with `-fsanitize=address` uncovered 2 memory leaks related to
the use of raw pointers in `addCapability` and
`addConditionalCapability`.

Instead of manually handling memory, use `std::unique_ptr` to track the
ownership of the pointed object and free the memory for us.

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@c11cd5ba1bf8bdc
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