From 3b98bdf8955176015dd51233cd1d9228ab625d66 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Wed, 18 Aug 2010 22:29:14 +0200 Subject: [PATCH] osd_simple: fix a potential null-deref (can only be triggered when OOM). --- modules/misc/osd/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/misc/osd/simple.c b/modules/misc/osd/simple.c index f76924217d..f8ea4b76a4 100644 --- a/modules/misc/osd/simple.c +++ b/modules/misc/osd/simple.c @@ -504,7 +504,7 @@ int osd_parser_simpleOpen( vlc_object_t *p_this ) return VLC_SUCCESS; error: - msg_Err( p_menu, "parsing file failed (returned %d)", result ); + msg_Err( p_this, "parsing file failed (returned %d)", result ); if( p_menu ) osd_MenuFree( p_menu ); fclose( fd ); -- 2.39.2