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