0e8e1c55
by Jinoh Kang at 2025-09-20T13:57:38+02:00
fluidsynth: Fix g_atomic_int_add() return value.
FluidSynth settings table is internally a refcounted hashtable. Due to
wrong glib atomic emulation, the hashtable might be leaked (if
refcount != 2) or abruptly freed (if refcount == 2) due to incorrect
return value from `fluid_atomic_int_exchange_and_add()`.
Fixes: f768d6b31bebc35fbaf751d0cd57c8bd302a8d60