On Wed, Sep 06, 2017 at 11:49:52AM -0400, Frediano Ziglio wrote: > > > > On Mon, Sep 04, 2017 at 11:57:15AM +0100, Frediano Ziglio wrote: > > > Do not use calloc and malloc directly without checking > > > the result. Use instead spice functions to get a nice > > > error in case of allocation failures. > > > > I'd tend to switch to g_new0 and friends rather than spice_xxx... > > > > Christophe > > > > But this would require change all the free too, I would > put this change in a follow up patch instead. "all the frees" being less than 10 occurrences... Anyway, Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel