You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][L0] Fix memory leak for piCommandListFenceMap. (#2931)
std::map::[]operator should not be used to lookup the existence of the map entry because it creates a place-holder entry if the entry does not exist.
This leads to a memory leak because the place-holder won't be explictly deallocated.
Instead, we should use std::map::find() to check if a map entry exists or not.
Signed-off-by: Byoungro So <[email protected]>
0 commit comments