Skip to content

Commit

Permalink
Fucking goto take 3.
Browse files Browse the repository at this point in the history
When they say it's not good practice, that's what they meant.
  • Loading branch information
aurelienpierre committed Feb 7, 2025
1 parent eed5ef9 commit bf56ad8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/imageio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,6 @@ int dt_imageio_export_with_flags(const int32_t imgid, const char *filename,
return 0; // success

error:
dt_pthread_mutex_unlock(&darktable.pipeline_threadsafe);
dt_dev_pixelpipe_cleanup(&pipe);
error_early:
dt_pthread_mutex_unlock(&darktable.pipeline_threadsafe);
Expand Down

0 comments on commit bf56ad8

Please sign in to comment.