llvm/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.NewDelete.rst

.. title:: clang-tidy - clang-analyzer-cplusplus.NewDelete
.. meta::
   :http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-newdelete

clang-analyzer-cplusplus.NewDelete
==================================

Check for double-free and use-after-free problems. Traces memory managed by
new/delete.

The `clang-analyzer-cplusplus.NewDelete` check is an alias, please see
`Clang Static Analyzer Available Checkers
<https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-newdelete>`_
for more information.