Avoid -Wuse-after-free in tests [BZ #26779].
authorMartin Sebor <msebor@redhat.com>
Tue, 25 Jan 2022 22:39:38 +0000 (15:39 -0700)
committerMartin Sebor <msebor@redhat.com>
Wed, 26 Jan 2022 17:38:23 +0000 (10:38 -0700)
commitc094c232eb3246154265bb035182f92fe1b17ab8
tree4b5d30d81c1870bbda23f9d079be4509fd4d2843
parente4ba8fee1a8feea62f9f06099a116163848338db
Avoid -Wuse-after-free in tests [BZ #26779].

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
malloc/tst-malloc-backtrace.c
malloc/tst-malloc-check.c
malloc/tst-malloc-too-large.c
malloc/tst-obstack.c
malloc/tst-realloc.c
support/tst-support-open-dev-null-range.c