]> git.sesse.net Git - vlc/commitdiff
stream.c: fixed stream_Delete() for streams opened by stream_UrlNew()
authorSigmund Augdal Helberg <sigmunau@videolan.org>
Fri, 1 Apr 2005 22:32:18 +0000 (22:32 +0000)
committerSigmund Augdal Helberg <sigmunau@videolan.org>
Fri, 1 Apr 2005 22:32:18 +0000 (22:32 +0000)
src/input/stream.c

index 6adb86375ec77a4c9c1ccf4dc83ee262222cc19e..6b68d99a97a43c827dfececd0f60cec01fd98e73 100644 (file)
@@ -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 );
     AStreamDestroy( s );
+    vlc_object_release( p_access );
     access2_Delete( p_access );
 }