From 5ada3f745d6a09813cf9f27e281db18c99995fdb Mon Sep 17 00:00:00 2001 From: Kurt Kartaltepe Date: Fri, 21 Aug 2020 21:26:24 -0700 Subject: [PATCH] obs-x264: Fix memory leak bmalloc'ed array was not freed when freeing options. --- plugins/obs-x264/obs-x264-options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/obs-x264/obs-x264-options.c b/plugins/obs-x264/obs-x264-options.c index a1e7a66b7..07bb56ffd 100644 --- a/plugins/obs-x264/obs-x264-options.c +++ b/plugins/obs-x264/obs-x264-options.c @@ -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); }