https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90905

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=90906

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
An analogous test case with std::vector or other containers is, of course, not
diagnosed at all because the warning only looks for locally declared variables
and not pointers to allocated memory that has been freed.  That's a separate
enhancement (pr90905).

Reply via email to