Jim Meyering a5cf8262e4 scsi, pci, qdev, isa-bus, sysbus: don't let *_get_fw_dev_path return NULL
Use g_strdup rather than strdup, because the sole caller
(qdev_get_fw_dev_path_helper) assumes it gets non-NULL, and dereferences
it.  Besides, in that caller, the allocated buffer is already freed with
g_free, so it's better to allocate with a matching g_strdup.

In one case, (scsi-bus.c) it was trivial, so I replaced an snprintf+
g_strdup combination with an equivalent g_strdup_printf use.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-10-05 07:58:36 -05:00
2012-10-01 08:04:22 -05:00
2012-10-01 08:04:22 -05:00
2012-09-27 21:28:25 +02:00
2012-09-28 19:40:56 +02:00
2012-09-28 19:40:56 +02:00
2012-09-28 19:40:56 +02:00
2012-09-28 19:40:56 +02:00
2012-09-28 19:40:56 +02:00
2012-09-28 19:40:56 +02:00
2012-09-22 17:59:12 +00:00
2012-09-28 12:16:27 +02:00
2012-09-28 12:16:27 +02:00
2012-09-25 19:05:56 -05:00
2012-09-28 19:40:56 +02:00
2012-09-26 12:42:19 -03:00
2012-09-27 21:28:25 +02:00
2012-09-28 17:51:47 +02:00
2012-09-28 17:51:47 +02:00
2012-10-03 13:48:45 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%