mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
When accessing the buttons of a profile, we should not unref it until we are done (or there will be some illegal access to a free-ed pointer). The last profile_unref should be called against the active_profile, not the last profile. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>