you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago

goto is the standard way of performing error handling in C, since there is no exception system or destructor mechanism to free resources when they are going out of scope.

  • source