> I thought the rule was that if a tiny allocation fails, it means we are in a
> deep trouble
> so it should abort.
I am not sure I got your point. I just put this because according to
GLib documentation g_malloc0() aborts the program on failure but
instead you are telling that this is a desired behaviour? You want to
abort ConnMan in such a case?
Yes, thus why g_malloc0() has been used. It was made on purpose.