|
|
|
|
|
by scott_s
533 days ago
|
|
Look at the Linux kernel. It uses gotos for exactly this purpose, and it’s some of the cleanest C code you’ll ever read. C++ destructors are great for this, but are not possible in C. Destructors require an object model that C does not have. |
|