]> git.proxmox.com Git - mirror_qemu.git/commit - hw/9pfs/9p-synth.c
9pfs: replace g_malloc()+memcpy() with g_memdup()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 29 Jun 2017 13:11:50 +0000 (15:11 +0200)
committerGreg Kurz <groug@kaod.org>
Thu, 29 Jun 2017 13:11:50 +0000 (15:11 +0200)
commit453a1b234fc11570e332e91d58e4dbfeec7cb824
tree1d793f5b6a236ab1a4bc297f1216edf6b4e462da
parentb96feb2cb9b2714bffa342b1d4f39d8db71329ba
9pfs: 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>
hw/9pfs/9p-synth.c