From 2c10f237a0f8ce0cf8dbe5ed75bed557106a2f2f Mon Sep 17 00:00:00 2001 From: jpark37 Date: Sat, 4 Jan 2020 09:46:09 -0800 Subject: [PATCH] mac-vth264: Fix encoder list leak Instruments claims there are still more around here, but they look internal with my limited Mac knowledge. --- plugins/mac-vth264/encoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mac-vth264/encoder.c b/plugins/mac-vth264/encoder.c index 11ff76a7a..63f7509b0 100644 --- a/plugins/mac-vth264/encoder.c +++ b/plugins/mac-vth264/encoder.c @@ -965,6 +965,8 @@ void encoder_list_create() da_push_back(vt_encoders, &enc); #undef VT_DICTSTR } + + CFRelease(encoder_list); } void encoder_list_destroy()