babl: fix mutex lock/unlocks symmetry in babl_fish()
authorØyvind Kolås <pippin@gimp.org>
Wed, 9 Feb 2022 19:03:46 +0000 (20:03 +0100)
committerØyvind Kolås <pippin@gimp.org>
Wed, 9 Feb 2022 19:05:52 +0000 (20:05 +0100)
commitcbad95a756467f8ccc07d6d00bfff8d689e0c1c9
tree4ab2015dab063173d2ebd6f557361d339aba8c5f
parent855f1506b55557da02a504bf40d3e1e75e64571d
babl: fix mutex lock/unlocks symmetry in babl_fish()

In the case where the fish we are to look up is the memcpy fish we were
not locking the mutex. Whereas the common cleanup after the branches
assumes the lock is held. This is probably the cause of gimp#7632.
babl/babl-fish.c