Skip to content

Commit

Permalink
Fix memleak in DepthCache (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmonticelli authored Jun 14, 2023
1 parent a7c043c commit 19f691d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/LibMultiSense/include/MultiSense/details/storage.hh
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ namespace details {
m_map[key] = data;
}
else {
delete it->second;
it->second = data;
}

Expand Down

0 comments on commit 19f691d

Please sign in to comment.