Re: [libvirt] [PATCH v3 03/19] util: use glib memory allocation functions

2019-10-15 Thread Han Han
Not reproduced when build source before `make clean`. Please ignore that issue On Tue, Oct 15, 2019 at 10:20 AM Han Han wrote: > > > On Thu, Oct 10, 2019 at 6:54 PM Daniel P. Berrangé > wrote: > >> Convert the VIR_ALLOC family of APIs with use of the g_malloc family of >> APIs. Use of

Re: [libvirt] [PATCH v3 03/19] util: use glib memory allocation functions

2019-10-14 Thread Han Han
On Thu, Oct 10, 2019 at 6:54 PM Daniel P. Berrangé wrote: > Convert the VIR_ALLOC family of APIs with use of the g_malloc family of > APIs. Use of VIR_ALLOC related functions should be incrementally phased > out over time, allowing return value checks to be dropped. Use of > VIR_FREE should be

[libvirt] [PATCH v3 03/19] util: use glib memory allocation functions

2019-10-10 Thread Daniel P . Berrangé
Convert the VIR_ALLOC family of APIs with use of the g_malloc family of APIs. Use of VIR_ALLOC related functions should be incrementally phased out over time, allowing return value checks to be dropped. Use of VIR_FREE should be replaced with auto-cleanup whenever possible. We previously used the