Skip to content
Snippets Groups Projects
Commit e99e4bf2 authored by Bryce Harrington's avatar Bryce Harrington Committed by Pekka Paalanen
Browse files

clients & tests: Unify multiple definitions of x*alloc and related functions


Direct fail_on_null calls now produce output like:

    [weston-info] clients/weston-info.c:714: out of memory

xmalloc, et al produce output on failure like:

    [weston-info] out of memory (-1)

Signed-off-by: default avatarBryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 4e221f03
No related branches found
No related tags found
No related merge requests found
Showing with 147 additions and 132 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment