Commit f88ec35d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

Fix potential free of uninitialized pointer

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent eab96264
...@@ -522,6 +522,7 @@ static dvdcss_t dvdcss_open_common ( const char *psz_target, void *p_stream, ...@@ -522,6 +522,7 @@ static dvdcss_t dvdcss_open_common ( const char *psz_target, void *p_stream,
if( psz_target == NULL && if( psz_target == NULL &&
( p_stream == NULL || p_stream_cb == NULL ) ) ( p_stream == NULL || p_stream_cb == NULL ) )
{ {
dvdcss->psz_device = NULL;
goto error; goto error;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment