Re: [Spice-devel] [RFC spice-vdagent 16/18] move to GLib memory functions

2018-08-27 Thread Victor Toso
Hi, This one I would also take, together with Patch 0001, outside of this series in order to reduce the patches a bit and focus more on the Glib integration. The memory functions in glib are not bounded to GMainLoop so it should be fine. On Tue, Aug 14, 2018 at 08:53:50PM +0200, Jakub Janků wrot

[Spice-devel] [RFC spice-vdagent 16/18] move to GLib memory functions

2018-08-14 Thread Jakub Janků
Some older parts of the code currently use memory functions defined in stdlib.h and usually handle allocation errors. On the other hand, newer parts of the code and GLib/GTK+ functions themselves commonly use wrappers provided by GLib that terminate the program when there isn't enough memory. So