Re: [libvirt] [PATCH 02/11] build: link to glib, gobject, gio libraries

2019-09-30 Thread Pavel Hrdina
On Fri, Sep 27, 2019 at 06:17:24PM +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

[libvirt] [PATCH 02/11] build: link to glib, gobject, gio libraries

2019-09-27 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 3be6ed60aa58095691bd6973447