decklink-output-ui: Fix memory leak

master
jp9000 2019-04-20 01:43:01 -07:00
parent 77d92421ed
commit d2b107bc9d
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void output_stop()
OBSData load_preview_settings() OBSData load_preview_settings()
{ {
char *path = obs_module_get_config_path(obs_current_module(), BPtr<char> path = obs_module_get_config_path(obs_current_module(),
"decklinkPreviewOutputProps.json"); "decklinkPreviewOutputProps.json");
BPtr<char> jsonData = os_quick_read_utf8_file(path); BPtr<char> jsonData = os_quick_read_utf8_file(path);
if (!!jsonData) { if (!!jsonData) {