Re: [libvirt] [PATCH v4 3/5] qemu_driver: use g_autofree when possible

2019-10-17 Thread Daniel Henrique Barboza
On 10/17/19 9:10 AM, Michal Privoznik wrote: On 10/16/19 10:54 PM, Daniel Henrique Barboza wrote: String and other scalar pointers an be auto-unref, sparing us a VIR_FREE() call. This patch uses g_autofree whenever possible with strings and other scalar pointer types. Suggested-by: Erik

Re: [libvirt] [PATCH v4 3/5] qemu_driver: use g_autofree when possible

2019-10-17 Thread Michal Privoznik
On 10/16/19 10:54 PM, Daniel Henrique Barboza wrote: String and other scalar pointers an be auto-unref, sparing us a VIR_FREE() call. This patch uses g_autofree whenever possible with strings and other scalar pointer types. Suggested-by: Erik Skultety Signed-off-by: Daniel Henrique Barboza