Revision 1eec614b aio.c
b/aio.c | ||
---|---|---|
79 | 79 |
if (node == NULL) { |
80 | 80 |
/* Alloc and insert if it's not already there */ |
81 | 81 |
node = qemu_mallocz(sizeof(AioHandler)); |
82 |
if (node == NULL) |
|
83 |
return -ENOMEM; |
|
84 | 82 |
node->fd = fd; |
85 | 83 |
LIST_INSERT_HEAD(&aio_handlers, node, node); |
86 | 84 |
} |
Also available in: Unified diff