Allowing small allocations to fail
Allowing small allocations to fail
Posted Mar 11, 2015 11:24 UTC (Wed) by vbabka (subscriber, #91706)In reply to: Allowing small allocations to fail by ewen
Parent article: Allowing small allocations to fail
I don't see the benefit of annotating all places where allocation can fail, if the default is going to change later anyway. Sounds like a lot of work that will in the end just clutter the code needlessly. What's needed is annotating (or fixing, if possible) places where allocation *cannot* fail.