Ziggit
Is this idomatic use of errdefer / defer?
Help
language
dimdin
July 18, 2024, 5:34am
2
Yes, it is fine.
Also consider extracting the 3 lines to a
locked_read
function.
1 Like
show post in topic