stream.c: fixed stream_Delete() for streams opened by stream_UrlNew()

parent 9957b228
...@@ -422,6 +422,7 @@ static void UStreamDestroy( stream_t *s ) ...@@ -422,6 +422,7 @@ static void UStreamDestroy( stream_t *s )
{ {
access_t *p_access = (access_t*)vlc_object_find( s, VLC_OBJECT_ACCESS, FIND_PARENT ); access_t *p_access = (access_t*)vlc_object_find( s, VLC_OBJECT_ACCESS, FIND_PARENT );
AStreamDestroy( s ); AStreamDestroy( s );
vlc_object_release( p_access );
access2_Delete( p_access ); access2_Delete( p_access );
} }
......
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