mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Convert last qemu_free and qemu_malloc uses
7267c0947d
missed
a few cases, fix them.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
c76c8416be
commit
58a06675d3
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue