diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-11-10 08:36:34 -0800 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-11-10 08:36:34 -0800 |
commit | b94cfb86ee0337cf4454161798741076ee007688 (patch) | |
tree | 34023906e8ded2a3f46778316634bfe4e15867cd /iolooper-select.c | |
parent | e6a439592e11235890fef5aa217c44f71f8fe45d (diff) | |
parent | 9a33e8554225c82cd900208f88e8965bb085ab87 (diff) | |
download | external_qemu-b94cfb86ee0337cf4454161798741076ee007688.zip external_qemu-b94cfb86ee0337cf4454161798741076ee007688.tar.gz external_qemu-b94cfb86ee0337cf4454161798741076ee007688.tar.bz2 |
Merge "Implement -list-cores UI option"
Diffstat (limited to 'iolooper-select.c')
-rw-r--r-- | iolooper-select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iolooper-select.c b/iolooper-select.c index f5aecbd..000fa5d 100644 --- a/iolooper-select.c +++ b/iolooper-select.c @@ -21,7 +21,7 @@ struct IoLooper { IoLooper* iolooper_new(void) { - IoLooper* iol = qemu_malloc(sizeof(*iol)); + IoLooper* iol = malloc(sizeof(*iol)); iolooper_reset(iol); return iol; } @@ -29,7 +29,7 @@ iolooper_new(void) void iolooper_free( IoLooper* iol ) { - qemu_free(iol); + free(iol); } void @@ -110,7 +110,7 @@ iolooper_del_write( IoLooper* iol, int fd ) { if (fd >= 0) { iolooper_del_fd(iol, fd); - FD_CLR(fd, iol->reads); + FD_CLR(fd, iol->writes); } } |