On Mon, Feb 20, 2012 at 11:07 AM, Hans de Goede <hdego...@redhat.com> wrote: >> I would prefer if it didn't call g_error() here. > > > I understand but given that: > 1) This only happens on memory allocation errors > 2) glib already does a g_error on memory allocation errors > in other places > 3) Doing other error handling is way more complicated > > I believe that this is the best solution here. >
I still think it's insane to try to deal with allocation error in usbredir, and it should abort() there, and not in spice-gtk, but we can make an exception if you are convinced it's the right thing to do. -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel