Re: [libvirt] [PATCH v2 02/23] build: link to glib library

2019-10-08 Thread Ján Tomko
On Mon, Oct 07, 2019 at 06:14:04PM +0100, Daniel P. Berrangé wrote: Add the main glib.h to internal.h so that all common code can use it. Historically glib allowed applications to register an alternative memory allocator, so mixing g_malloc/g_free with malloc/free was not safe. This was

[libvirt] [PATCH v2 02/23] build: link to glib library

2019-10-07 Thread Daniel P . Berrangé
Add the main glib.h to internal.h so that all common code can use it. Historically glib allowed applications to register an alternative memory allocator, so mixing g_malloc/g_free with malloc/free was not safe. This was feature was dropped in 2.46.0 with: commit