Re: [Qemu-devel] [PATCH] Replace non-portable asprintf by g_strdup_printf

2013-01-19 Thread Blue Swirl
Thanks, applied. This fixes a warning on mingw32. On Wed, Jan 16, 2013 at 5:37 PM, Stefan Weil wrote: > g_strdup_printf already handles OOM errors, so some error handling in > QEMU code can be removed. > > Signed-off-by: Stefan Weil > --- > > TODO: > > * hardware_address is set, but obviously ne

[Qemu-devel] [PATCH] Replace non-portable asprintf by g_strdup_printf

2013-01-16 Thread Stefan Weil
g_strdup_printf already handles OOM errors, so some error handling in QEMU code can be removed. Signed-off-by: Stefan Weil --- TODO: * hardware_address is set, but obviously never used. * pathname has no free / g_free. Regards, Stefan Weil exec.c |8 +++- qga/command