[Bug analyzer/94458] -Wanalyzer-malloc-leak false positive when returning a heap-allocated struct by value holding a heap-allocated pointer

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 13 20:30:09 GMT 2020


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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
The leak false positive should be fixed by
g:808f4dfeb3a95f50f15e71148e5c1067f90a126d (for GCC 11).  Marking this as
fixed.


More information about the Gcc-bugs mailing list