]> git.proxmox.com Git - qemu.git/commit
spice-qemu-char: Fix name parameter issues after qapi-ifying
authorHans de Goede <hdegoede@redhat.com>
Wed, 13 Mar 2013 09:41:31 +0000 (10:41 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 14 Mar 2013 08:46:18 +0000 (09:46 +0100)
commit5e9b473a3d7fbb915df4b3f5487e5056762087f8
tree77dcc35da37cbb8981cda53ad01418d5172af5f7
parente5545854dd1e2e3507b210ac0c1cbfca69ff0fcb
spice-qemu-char: Fix name parameter issues after qapi-ifying

The strings passed in through the qapi calls are dynamic memory, since
we want to have them stick around longer then just the call to
qemu_chr_open_spice_* we need to strdup them.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice-qemu-char.c