mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-21 04:35:28 -04:00
decklink-ui: fix double free of settings
This leads to a crash when the output is stopped, either by clicking the stop button or when exiting OBS studio. This crash is: - intermittent in release builds - reliable for me in debug builds It is held by an `OBSData`, which, if not null, will automatically call `obs_data_release()` on scope exit.
This commit is contained in:
@@ -68,7 +68,6 @@ void output_start()
|
||||
settings, NULL);
|
||||
|
||||
bool started = obs_output_start(output);
|
||||
obs_data_release(settings);
|
||||
|
||||
main_output_running = started;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user