Re: [Spice-devel] [PATCH vdagent-linux 1/6] move to GLib memory functions

2018-09-07 Thread Victor Toso
On Fri, Sep 07, 2018 at 03:59:13PM +0200, Jakub Janků wrote: > 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

[Spice-devel] [PATCH vdagent-linux 1/6] move to GLib memory functions

2018-09-07 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

Re: [Spice-devel] [PATCH vdagent-linux 1/6] move to GLib memory functions

2018-09-07 Thread Victor Toso
Hi, On Tue, Sep 04, 2018 at 06:40:46PM +0200, Jakub Janků wrote: > 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

[Spice-devel] [PATCH vdagent-linux 1/6] move to GLib memory functions

2018-09-04 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