aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-11-06 15:13:21 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-11-10 15:07:53 +0100
commit84ec9bfaf239b61bac3e43f708772937401e0e63 (patch)
treec51ce911638e94b4a5d91079c0b85491eccf8901 /po
parentc41868152a95db5f759bb7da491615eca99e9a40 (diff)
downloadqemu-84ec9bfaf239b61bac3e43f708772937401e0e63.zip
qemu-84ec9bfaf239b61bac3e43f708772937401e0e63.tar.gz
qemu-84ec9bfaf239b61bac3e43f708772937401e0e63.tar.bz2
slirp: Use g_new() to allocate sockets in socreate()
The slirp socreate() function can only fail if the attempt to malloc() the struct socket fails. Switch to using g_new() instead, which will allow us to remove the error-handling code from its callers. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions