Thomas Huth
e9d49d518d
linux-user/syscall: Replace g_malloc0 + memcpy with g_memdup
...
No need to use g_malloc0 to zero the memory if we memcpy to
the whole buffer afterwards anyway. Actually, there is even
a function which combines both steps, g_memdup, so let's use
this function here instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-11-06 15:42:38 +03:00
..
2014-12-11 12:07:52 +00:00
2015-01-27 22:33:56 +02:00
2015-05-18 17:45:10 +01:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2015-01-27 22:33:57 +02:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2015-10-07 20:03:15 +11:00
2014-08-22 15:06:35 +03:00
2014-08-22 15:06:35 +03:00
2015-10-08 19:46:47 +03:00
2008-12-13 09:32:43 +00:00
2007-10-14 16:27:31 +00:00
2015-09-28 16:29:11 +03:00
2014-10-06 21:52:45 +03:00
2008-05-23 16:06:43 +00:00
2015-09-28 16:29:11 +03:00
2014-03-13 19:52:28 +01:00
2015-10-08 19:46:47 +03:00
2014-05-02 21:59:36 +03:00
2015-10-01 11:43:42 +03:00
2015-09-28 16:29:11 +03:00
2015-10-07 20:03:15 +11:00
2014-06-29 14:19:59 +03:00
2013-04-05 14:40:54 +02:00
2014-08-22 15:06:34 +03:00
2015-10-07 20:03:15 +11:00
2014-10-06 21:52:45 +03:00
2015-11-06 15:42:38 +03:00
2011-02-09 10:33:54 +02:00
2009-07-01 18:24:44 +00:00
2014-06-17 09:21:40 +03:00
2014-05-02 21:59:36 +03:00
2015-01-20 15:19:33 +00:00