Closed jbigot closed 2 months ago
can you say a bit more?
In GitLab by @ksiero on Mar 15, 2022, 12:28
When link
method calls return;
allocated memory by new Referenced_data
is not deleted.
In GitLab by @ksiero on Mar 16, 2022, 11:31
Yes, it stored in m_content
, but after all 3 of right access checks. What if before one of 3 condition fails?
good catch! I missed it.
We should store the pointer in a unique_ptr
and use release
to assign it to m_content
In GitLab by @ksiero on Mar 31, 2022, 14:22
mentioned in commit 170a39e018cd9b0f0ba0b549f066ae41e94c9ab3
In GitLab by @ksiero on Apr 1, 2022, 09:41
mentioned in commit 73b4415b11891e852739351135872a71d204c1b3
In GitLab by @ksiero on Mar 14, 2022, 13:45
I have found memory leak in ref_any.h:336: