Skip to content
Snippets Groups Projects
Commit 7a5626a1 authored by Ahmed Abouzied's avatar Ahmed Abouzied Committed by Laurent Vivier
Browse files

linux-user/syscall.c: malloc to g_try_malloc


Use g_try_malloc instead of malloc to alocate the target ifconfig.
Also replace the corresponding free with g_free.

Signed-off-by: default avatarAhmed Abouzied <email@aabouzied.com>
Message-Id: <20220104143841.25116-1-email@aabouzied.com>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 155fff93
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment