0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00

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
commit 02b7672bf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}