test-input: Fix potential lockup in test filter

obs_leave_graphics() may not be properly called if this returns null for
whatever reason.
master
jp9000 2015-02-25 21:21:40 -08:00
parent 1647674754
commit 2a06beea45
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static void *filter_create(obs_data_t *settings, obs_source_t *source)
bfree(effect_file);
if (!tf->whatever) {
filter_destroy(tf);
return NULL;
tf = NULL;
}
obs_leave_graphics();