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:
parent
b797444e94
commit
be2ba84e50
@ -65,9 +65,8 @@ xmalloc(uint size)
|
|||||||
void *
|
void *
|
||||||
xrealloc(void *ptr, uint size)
|
xrealloc(void *ptr, uint size)
|
||||||
{
|
{
|
||||||
void *p = realloc(ptr, size);
|
|
||||||
|
|
||||||
MINFO(ptr, 0, 2);
|
MINFO(ptr, 0, 2);
|
||||||
|
void *p = realloc(ptr, size);
|
||||||
MINFO(p, size, 3);
|
MINFO(p, size, 3);
|
||||||
|
|
||||||
if (p)
|
if (p)
|
||||||
|
Loading…
Reference in New Issue
Block a user