Peter Maydell 84ec9bfaf2 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>
2018-11-10 15:07:53 +01:00
..
2018-01-14 18:16:13 +01:00
2016-06-07 18:19:25 +03:00
2017-07-15 14:28:25 +02:00
2018-01-14 18:16:13 +01:00
2017-04-25 19:17:25 +08:00
2018-10-07 19:40:30 +02:00
2018-10-07 19:40:30 +02:00
2017-04-25 19:17:25 +08:00
2018-05-31 21:19:24 +02:00
2017-04-29 18:44:16 +02:00
2017-04-29 18:44:16 +02:00
2017-04-29 18:44:16 +02:00
2017-04-29 18:29:58 +02:00
2018-01-14 18:16:13 +01:00