]> git.proxmox.com Git - qemu.git/blobdiff - coroutine-gthread.c
usb-storage: drop tag from device state.
[qemu.git] / coroutine-gthread.c
index b00e548b2d73fa2d945c0e68dc5ab42a3a3595b0..fdea27a106601c5ae0914462fc0ae077271865af 100644 (file)
@@ -117,7 +117,7 @@ Coroutine *qemu_coroutine_self(void)
     if (!co) {
         co = g_malloc0(sizeof(*co));
         co->runnable = true;
-        g_static_private_set(&coroutine_key, co, (GDestroyNotify)qemu_free);
+        g_static_private_set(&coroutine_key, co, (GDestroyNotify)g_free);
     }
 
     return &co->base;