mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Avoid -Wuse-after-free in tests [BZ #26779].
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -20,8 +20,8 @@ verbose_malloc (size_t size)
|
||||
static void
|
||||
verbose_free (void *buf)
|
||||
{
|
||||
free (buf);
|
||||
printf ("free (%p)\n", buf);
|
||||
free (buf);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Reference in New Issue
Block a user