Re: [Qemu-devel] [PATCH 1/2] audio: Use g_strdup_printf instead of manual building a string

2019-02-28 Thread Gerd Hoffmann
On Mon, Feb 25, 2019 at 03:43:34PM +, Frediano Ziglio wrote: > Instead of using lot of low level function and manually allocate > the temporary string in audio_process_options use more high > level GLib function. The function is not used in hot path but to > read some initial setting. Added

[Qemu-devel] [PATCH 1/2] audio: Use g_strdup_printf instead of manual building a string

2019-02-25 Thread Frediano Ziglio
Instead of using lot of low level function and manually allocate the temporary string in audio_process_options use more high level GLib function. The function is not used in hot path but to read some initial setting. Signed-off-by: Frediano Ziglio --- audio/audio.c | 25