facebookarchive / libphenom

An eventing framework for building high performance and high scalability systems in C.
http://facebook.github.io/libphenom
Apache License 2.0
1.66k stars 362 forks source link

corelib/counter: Fix ck_malloc wrapper functions. #69

Closed sbahra closed 10 years ago

sbahra commented 10 years ago

Return NULL on allocation failure and do not ignore deferral flag. This avoids unnecessary deferrals if possible.

wez commented 10 years ago

applied using hub am https://github.com/facebook/libphenom/pull/69, thanks!