[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Re: deeply nested allocations example *should* be solved by factoring out

Re: deeply nested allocations example *should* be solved by factoring out

Posted Dec 27, 2014 20:56 UTC (Sat) by Cyberax (✭ supporter ✭, #52523)
In reply to: Re: deeply nested allocations example *should* be solved by factoring out by ldo
Parent article: The "too small to fail" memory-allocation rule

I rewrote a sample. It's shorter and easier to read and understand. I provided you a sample of non-trivial cleanup logic from a big project.

What else do you want?


to post comments

Re: What else do you want?

Posted Dec 27, 2014 21:33 UTC (Sat) by ldo (guest, #40946) [Link]

An example that proves that you can deal gracefully with all the cases that my code manages.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds