diff options
author | Ahmed Abouzied <email@aabouzied.com> | 2022-01-04 16:38:41 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-01-06 11:40:52 +0100 |
commit | 7a5626a1d8a193106dc709608273ed48729967d5 (patch) | |
tree | d73685726e18fafb3c93ce6a1ee21f9f021afd7f /include/qemu/buffer.h | |
parent | 155fff93f8e7720fa476f2f9a5c08bdad2076b8b (diff) | |
download | qemu-7a5626a1d8a193106dc709608273ed48729967d5.zip qemu-7a5626a1d8a193106dc709608273ed48729967d5.tar.gz qemu-7a5626a1d8a193106dc709608273ed48729967d5.tar.bz2 |
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: Ahmed Abouzied <email@aabouzied.com>
Message-Id: <20220104143841.25116-1-email@aabouzied.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/qemu/buffer.h')
0 files changed, 0 insertions, 0 deletions