diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-08-27 01:34:52 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2015-09-01 11:07:10 -0500 |
commit | 2e38d9903be28493ccd6de4a55e5226e9f07dea9 (patch) | |
tree | c60e0d98d66c4fc157124ad5efa0cbf229683469 /hw/i386 | |
parent | 44de156ca7bfaf899745291a0d603d4f7550f5ea (diff) | |
download | hqemu-2e38d9903be28493ccd6de4a55e5226e9f07dea9.zip hqemu-2e38d9903be28493ccd6de4a55e5226e9f07dea9.tar.gz |
qga: copy argument strings
Following patch will return allocated strings, so we must correctly
initialize alloc & free them. The nice side effect is that we no longer
have to check for "fixed_state_dir" to call ga_install_service() with a
NULL state dir. The default values are set after parsing the command
line options.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/i386')
0 files changed, 0 insertions, 0 deletions