Merge pull request #3306 from kkartaltepe/x264-leak-fix

obs-x264: Fix memory leak
This commit is contained in:
Jim
2020-08-22 08:57:39 -07:00
committed by GitHub

View File

@@ -66,6 +66,7 @@ void obs_x264_free_options(struct obs_x264_options options)
for (size_t i = 0; i < options.count; ++i) {
bfree(options.options[i].name);
}
bfree(options.options);
bfree(options.ignored_words);
strlist_free(options.input_words);
}