[vlc-devel] commit: podcast: fix missing release. ( Rémi Duraffort )

git version control git at videolan.org
Tue Mar 24 21:32:16 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Mar 24 21:19:34 2009 +0100| [cd2cf6027b5775196abd36322eec406bf3a68054] | committer: Rémi Duraffort 

podcast: fix missing release.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd2cf6027b5775196abd36322eec406bf3a68054
---

 modules/services_discovery/podcast.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c
index 6d12d8a..021ca45 100644
--- a/modules/services_discovery/podcast.c
+++ b/modules/services_discovery/podcast.c
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * podcast.c:  Podcast services discovery module
  *****************************************************************************
- * Copyright (C) 2005 the VideoLAN team
+ * Copyright (C) 2005-2009 the VideoLAN team
  * $Id$
  *
  * Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
@@ -132,6 +132,9 @@ static int Open( vlc_object_t *p_this )
 
     if (vlc_clone (&p_sys->thread, Run, p_sd, VLC_THREAD_PRIORITY_LOW))
     {
+        var_DelCallback( p_sd, "podcast-urls", UrlsChange, p_sys );
+        vlc_cond_destroy( &p_sys->wait );
+        vlc_mutex_destroy( &p_sys->lock );
         free (p_sys);
         return VLC_EGENERIC;
     }




More information about the vlc-devel mailing list