obs-x264: Fix memory leak
bmalloc'ed array was not freed when freeing options.
This commit is contained in:
parent
0c41bef84a
commit
5ada3f745d
@ -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…
x
Reference in New Issue
Block a user