diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-08-21 18:42:08 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-08-21 18:42:08 +0000 |
commit | 58a06675d39955e80154c36cff5113bb30e078a7 (patch) | |
tree | 97a6a32528ffecad1608bc550c2508dcc4334577 /coroutine-gthread.c | |
parent | c76c8416be5631dfdbd13799d3c67ad670637155 (diff) | |
download | qemu-58a06675d39955e80154c36cff5113bb30e078a7.zip qemu-58a06675d39955e80154c36cff5113bb30e078a7.tar.gz qemu-58a06675d39955e80154c36cff5113bb30e078a7.tar.bz2 |
Convert last qemu_free and qemu_malloc uses
7267c0947d7e8ae5dff7bafd932c3bc285f43e5c missed
a few cases, fix them.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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 b00e548..fdea27a 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; |