Re: [libvirt] [PATCH v3 02/19] build: link to glib library

2019-10-10 Thread Ján Tomko
On Thu, Oct 10, 2019 at 11:53:56AM +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 v3 02/19] build: link to glib library

2019-10-10 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