[vlc-commits] addons: fix deference before null check (cid #1231840)
Francois Cartegnie
git at videolan.org
Wed Aug 20 01:53:43 CEST 2014
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Aug 18 21:35:14 2014 +0900| [f1ebbd36806d43bddcdb5cdba8cd6be53ed93da5] | committer: Jean-Baptiste Kempf
addons: fix deference before null check (cid #1231840)
(cherry picked from commit 98c7fee169bf5da3f7da7d6b465a98236d7ac53f)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=f1ebbd36806d43bddcdb5cdba8cd6be53ed93da5
---
src/misc/addons.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/addons.c b/src/misc/addons.c
index 5c2ed3d..a625a5c 100644
--- a/src/misc/addons.c
+++ b/src/misc/addons.c
@@ -340,11 +340,11 @@ static void *FinderThread( void *p_data )
addons_finder_t *p_finder =
vlc_custom_create( p_manager->p_priv->p_parent, sizeof( *p_finder ), "entries finder" );
- p_finder->i_flags |= OBJECT_FLAGS_NOINTERACT;
i_cancel = vlc_savecancel();
if( p_finder != NULL )
{
+ p_finder->i_flags |= OBJECT_FLAGS_NOINTERACT;
module_t *p_module;
ARRAY_INIT( p_finder->entries );
vlc_mutex_lock( &p_manager->p_priv->finder.lock );
More information about the vlc-commits
mailing list