diff options
Diffstat (limited to 'bt-vhci.c')
| -rw-r--r-- | bt-vhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bt-vhci.c b/bt-vhci.c index 3c5772093e..bbc1029854 100644 --- a/bt-vhci.c +++ b/bt-vhci.c @@ -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; |