0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Tame improper xmalloc warning

This commit is contained in:
Maria Matejka 2024-06-26 17:21:26 +02:00
parent b797444e94
commit be2ba84e50

View File

@ -65,9 +65,8 @@ xmalloc(uint size)
void *
xrealloc(void *ptr, uint size)
{
void *p = realloc(ptr, size);
MINFO(ptr, 0, 2);
void *p = realloc(ptr, size);
MINFO(p, size, 3);
if (p)