Skip to content

Commit

Permalink
Fucking goto × thread lock, take 2. Damn it.
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienpierre committed Feb 7, 2025
1 parent b8aca33 commit eed5ef9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/imageio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,7 @@ int dt_imageio_export_with_flags(const int32_t imgid, const char *filename,
dt_pthread_mutex_unlock(&darktable.pipeline_threadsafe);
dt_dev_pixelpipe_cleanup(&pipe);
error_early:
dt_pthread_mutex_unlock(&darktable.pipeline_threadsafe);
dt_dev_cleanup(&dev);
dt_mipmap_cache_release(darktable.mipmap_cache, &buf);
return 1;
Expand Down

0 comments on commit eed5ef9

Please sign in to comment.