/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c: In function ‘test_autofree’: <--[gcc]
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1334:9: warning: ‘talloc_autofree_context’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1334 |         p = talloc_autofree_context();
      |         ^
In file included from /builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:28: <--[gcc]
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1084:16: note: declared here <--[gcc]
 1084 | _PUBLIC_ void *talloc_autofree_context(void) _DEPRECATED_;
      |                ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1337:9: warning: ‘talloc_autofree_context’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1337 |         p = talloc_autofree_context();
      |         ^
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1084:16: note: declared here <--[gcc]
 1084 | _PUBLIC_ void *talloc_autofree_context(void) _DEPRECATED_;
      |                ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c: In function ‘test_memlimit’: <--[gcc]
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1680:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1680 |         torture_assert("memlimit", talloc_set_memlimit(l1, 2048) == 0,
      |         ^~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1740:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1740 |         torture_assert("memlimit", talloc_set_memlimit(l3, 1024) == 0,
      |         ^~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1753:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1753 |         torture_assert("memlimit", talloc_set_memlimit(l4, 512) == 0,
      |         ^~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1787:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1787 |         torture_assert("memlimit", talloc_set_memlimit(l4, 512) == 0,
      |         ^~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1820:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1820 |         talloc_set_memlimit(pool, 10*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1873:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1873 |         talloc_set_memlimit(pool, 11*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1885:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1885 |         talloc_set_memlimit(pool, 21*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1923:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1923 |         talloc_set_memlimit(pool, 1024);
      |         ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/testsuite.c:1944:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations] <--[gcc]
 1944 |         talloc_set_memlimit(pool, 10*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.h:1984:14: note: declared here <--[gcc]
 1984 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.c:793: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/talloc.c:793: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/libtalloc-2.4.4-build/talloc-2.4.4/lib/replace/tests/testsuite.c:172: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: x <--[cppcheck]
