]> git.sesse.net Git - vlc/blobdiff - modules/video_output/qte/qte.cpp
Check malloc return value when needed and don't print an error when such error happend.
[vlc] / modules / video_output / qte / qte.cpp
index 9912f6026b91936c71b275cd8fd9daa0764cea14..da41e4a4798977c57bfe25d02e88be6cc944bb76 100644 (file)
@@ -143,10 +143,7 @@ static int Open( vlc_object_t *p_this )
     p_vout->p_sys = (struct vout_sys_t*) malloc( sizeof( struct vout_sys_t ) );
 
     if( p_vout->p_sys == NULL )
-    {
-        msg_Err( p_vout, "out of memory" );
         return( 1 );
-    }
 
     p_vout->pf_init    = Init;
     p_vout->pf_end     = End;