On 03/18/2013 03:14 PM, Patrik Flykt wrote:
On Mon, 2013-03-18 at 15:36 +0200, Jukka Rissanen wrote:
Should this be g_try_new0() instead?
This requires then fixes in callers where return value checks would
be
needed.

With the assumption that this is "small enough", I don't think it's
needed. The next question obviously is how small is "small enough"...

The glib tracing dump showed that we have a lot of small blocks:

http://lists.connman.net/pipermail/connman/2012-December/012537.html

I would say 24 bytes is belongs to the category small :)

cheers,
daniel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to