mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
Merge pull request #3306 from kkartaltepe/x264-leak-fix
obs-x264: Fix memory leak
This commit is contained in:
commit
02b7672bf1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user