sap: do not release an object we did't yield
authorRafaël Carré <funman@videolan.org>
Wed, 17 Oct 2007 13:09:40 +0000 (13:09 +0000)
committerRafaël Carré <funman@videolan.org>
Wed, 17 Oct 2007 13:09:40 +0000 (13:09 +0000)
modules/services_discovery/sap.c

index 9e50499..d5a4562 100644 (file)
@@ -427,7 +427,6 @@ static void Close( vlc_object_t *p_this )
     }
     FREENULL( p_sys->pp_announces );
 
-    pl_Release( p_sd );
     free( p_sys );
 }