[vlc-devel] [PATCH 2/5] macosx: fix use-after-free
Lyndon Brown
jnqnfe at gmail.com
Thu Sep 24 01:10:11 CEST 2020
From: Lyndon Brown <jnqnfe at gmail.com>
Date: Tue, 9 Apr 2019 04:16:57 +0100
Subject: macosx: fix use-after-free
diff --git a/modules/gui/macosx/preferences/prefs_widgets.m b/modules/gui/macosx/preferences/prefs_widgets.m
index d256052579..7dffab2899 100644
--- a/modules/gui/macosx/preferences/prefs_widgets.m
+++ b/modules/gui/macosx/preferences/prefs_widgets.m
@@ -1255,8 +1255,8 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc]; \
break;
}
}
- module_config_free(p_config);
}
+ module_config_free(p_config);
}
module_list_free(p_list);
More information about the vlc-devel
mailing list