> TBH, this doesn't seem like a worthwhile exit point consolidation. A > change like this might be justified if there were some common unlock > code that could be shared, but for a simple free and return errno by > jumping to a different exception block, rather than even a common exit > block, I don't see the value. Can it be helpful to store the shown kfree() call only once in this function implementation? Regards, Markus