13
0
livetrax/libs/surfaces/osc
Nikolaus Gullotta 810b2fb78d
Prevent double free of global observers
We accomplish this by explicitly setting the global_obs to NULL after
free'ing it. The crash that led to this fix can be replicated as such

$ sendosc localhost 3819 /set_surface i 8 i 159 i 8
$ sendosc localhost 3819 /set_surface i 0 i 0 i 0
$ sendosc localhost 3819 /set_surface i 0 i 0 i 0

In this example the observer is created, then free'd, and then free'd
*again* because the new observer was never made (sur->feedback[x]
checks fail)
2020-03-09 13:02:38 -05:00
..
MSVCardour_osc Adapt our remaining MSVC projects for 'boost::atomic' (in case it later gets extended to the other libs) 2018-09-30 09:06:25 +01:00
interface.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_controllable.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_controllable.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_cue_observer.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_cue_observer.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_global_observer.cc surfaces transport hotfix: actual_speed() is preferred over transport_speed() for current Transport FSM 2020-02-23 09:02:13 -06:00
osc_global_observer.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_gui.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_gui.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_route_observer.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_route_observer.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc_select_observer.cc Remove Mixbus send special case 2020-03-07 02:33:36 +01:00
osc_select_observer.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
osc.cc Prevent double free of global observers 2020-03-09 13:02:38 -05:00
osc.h OSC: foldback buses should be able to be mono 2019-08-06 11:12:19 -07:00
wscript Explicitly use OSX 2020-01-25 04:07:41 +01:00