]> git.proxmox.com Git - mirror_qemu.git/commit
i386: replace g_malloc()+memcpy() with g_memdup()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 6 Jun 2017 20:45:43 +0000 (00:45 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 31 Aug 2017 10:29:07 +0000 (12:29 +0200)
commitad2c19937e0b80f8037e411f72e6d6078fe673ca
tree846045b338cef4bba27c8354f2c6a166c159227a
parent18a1f0d767852a7d6a000bffeb65d8825ae83a79
i386: replace g_malloc()+memcpy() with g_memdup()

I found these pattern via grepping the source tree. I don't have a
coccinelle script for it!

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
hw/i386/multiboot.c