mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-10 06:14:12 +00:00
![Thomas Huth](/assets/img/avatar_default.png)
g_malloc0 already clears the memory, so no need for the additional memset here. And while we're at it, also convert the g_malloc0 to the preferred g_new0. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>