qemu/util
zhanghailiang bc5008a832 util/path: Use the GLib memory allocation routines
In this file, we don't check the return value of malloc/strdup/realloc which may fail.
Instead of using these routines, we use the GLib memory APIs g_malloc/g_strdup/g_realloc.
They will exit on allocation failure, so there is no need to test for failure,
which would be fine for setup.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-08-24 13:16:32 +04:00
..
acl.c
aes.c util: Add InvMixColumns 2014-06-16 13:24:33 +02:00
bitmap.c bitmap: use long as index 2014-01-13 14:04:53 +01:00
bitops.c
compatfd.c Add a 'name' parameter to qemu_thread_create 2014-03-09 21:09:38 +02:00
crc32c.c
cutils.c cutils: tighten qemu_parse_fd() 2014-05-08 14:19:58 -04:00
envlist.c
error.c error: error_is_set() is finally unused; remove 2014-05-21 11:57:58 +02:00
event_notifier-posix.c
event_notifier-win32.c
fifo8.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
getauxval.c qemu/osdep: Remove the need for qemu_init_auxval 2014-06-23 07:32:27 -07:00
hbitmap.c util/hbitmap.c: Use ctpopl rather than reimplementing a local equivalent 2014-06-11 00:25:06 +01:00
hexdump.c
host-utils.c target-ppc: Add ISA2.06 divde[o] Instructions 2014-03-05 03:06:39 +01:00
iov.c dma-helpers: Fix too long qiov 2014-07-14 12:03:21 +02:00
Makefile.objs tcg-ppc: Merge cache-utils into the backend 2014-06-23 07:32:30 -07:00
module.c module: Don't complain when a module is absent 2014-07-18 14:57:35 +02:00
notify.c
osdep.c do not call g_thread_init() for glib >= 2.31 2014-05-07 21:00:43 +04:00
oslib-posix.c block: Introduce qemu_try_blockalign() 2014-08-15 15:07:15 +02:00
oslib-win32.c block: Introduce qemu_try_blockalign() 2014-08-15 15:07:15 +02:00
path.c util/path: Use the GLib memory allocation routines 2014-08-24 13:16:32 +04:00
qemu-config.c qapi: output def_value_str when query command line options 2014-06-16 17:23:20 +08:00
qemu-error.c error: Print error_report() to stderr if using qmp 2014-04-25 09:19:58 -04:00
qemu-openpty.c util/qemu-openpty: fix build with musl libc by include termios.h as fallback 2014-06-11 00:25:06 +01:00
qemu-option.c qemu_opts_append: Play nicely with QemuOptsList's head 2014-06-26 15:53:52 +02:00
qemu-progress.c qemu-progress: Fix progress printing on SIGUSR1 2014-01-24 14:33:00 +01:00
qemu-sockets.c don't use 'Yoda conditions' 2014-08-15 18:54:07 +04:00
qemu-thread-posix.c Detect pthread_setname_np at configure time 2014-03-27 17:48:11 +02:00
qemu-thread-win32.c Detect pthread_setname_np at configure time 2014-03-27 17:48:11 +02:00
qemu-timer-common.c
readline.c readline: Clear screen on form feed. 2014-06-11 10:10:29 -04:00
rfifolock.c rfifolock: add recursive FIFO lock 2014-03-13 14:42:21 +01:00
throttle.c throttle: add throttle_detach/attach_aio_context() 2014-06-04 09:56:12 +02:00
unicode.c
uri.c