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:
Fred Emmott
2021-02-08 14:46:38 -06:00
parent 2597ed0ecc
commit e5f05473e7

View File

@@ -68,7 +68,6 @@ void output_start()
settings, NULL);
bool started = obs_output_start(output);
obs_data_release(settings);
main_output_running = started;