Commit 332a9398 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

upnp: Fix potential free of uninitialized pointer

parent 4f4f3c91
......@@ -755,8 +755,10 @@ int Upnp_i11e_cb::run( Upnp_EventType eventType, void *p_event, void *p_cookie )
}
MediaServer::MediaServer( access_t *p_access, input_item_node_t *node )
: access_( p_access )
: psz_objectId_( NULL )
, access_( p_access )
, node_( node )
{
vlc_url_t url;
vlc_UrlParse( &url, p_access->psz_location );
......
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