talloc: Convert error cecking macros into fns talloc-2.0.8
authorSimo Sorce <idra@samba.org>
Fri, 5 Oct 2012 14:32:32 +0000 (10:32 -0400)
committerSimo Sorce <idra@samba.org>
Fri, 5 Oct 2012 21:24:17 +0000 (23:24 +0200)
commit36ea39edf8dd9ede756debaf9632f3ded2a51abb
treedf2daca4aace860c5bd16434cdff8410ece48cd3
parent7d7e33c624875a9694fcebdde942147ac3bf5f74
talloc: Convert error cecking macros into fns

This will avoid 'surprise returns' and makes the code cleare to readers.
These macros were complex enough to warrant a full function anyway not
just for readability but also for debuggability.

Thanks David for pointing out this issue.

Autobuild-User(master): Simo Sorce <idra@samba.org>
Autobuild-Date(master): Fri Oct  5 23:24:17 CEST 2012 on sn-devel-104
lib/talloc/talloc.c