qemu-e2k/target-sparc
Thomas Huth a337f295de sparc: Use g_memdup() instead of g_new0() + memcpy()
There is no need to make sure that the memory is zeroed after the
allocation if we also immediatly fill the whole buffer afterwards
with memcpy(). Thus g_new0 should be g_new instead. But since we
are also doing a memcpy() here, we can also simply replace both
with g_memdup() instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-By: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2016-09-13 18:12:34 +03:00
..
2016-07-12 11:02:06 -07:00
2016-01-29 15:07:22 +00:00
2011-12-02 10:50:57 +00:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00