diff options
Diffstat (limited to 'bt-vhci.c')
-rw-r--r-- | bt-vhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ void bt_vhci_init(struct HCIInfo *info) exit(-1); } - s = qemu_mallocz(sizeof(struct bt_vhci_s)); + s = g_malloc0(sizeof(struct bt_vhci_s)); s->fd = fd; s->info = info ?: qemu_next_hci(); s->info->opaque = s; |