roctracer icon indicating copy to clipboard operation
roctracer copied to clipboard

Fix memory leak in roctxRangePushA

Open MrBurmark opened this issue 3 years ago • 1 comments

Do not strdup message when pushing to stack of std::strings. Use emplace to avoid unnecessary std::string moves/copies.

MrBurmark avatar Jun 10 '22 18:06 MrBurmark

Is the api_data message freed in the callback? Does it need to be strdup'd in the first place?

MrBurmark avatar Jun 10 '22 21:06 MrBurmark