[vlc-devel] commit: Fix some crash on exit (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 13 01:12:16 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 12 16:14:39 2008 -0700| [fb5d2981212631b1877b85498aaf95d7d659de35] | committer: Jean-Baptiste Kempf 

Fix some crash on exit

Patch by Sephiroth87

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

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

diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c
index b64243e..690d0e3 100644
--- a/modules/services_discovery/podcast.c
+++ b/modules/services_discovery/podcast.c
@@ -223,6 +223,7 @@ static void ParseUrls( services_discovery_t *p_sd, char *psz_urls )
                                         psz_urls, 0, NULL, -1 );
             input_ItemAddOption( p_input, "demux=podcast" );
             services_discovery_AddItem( p_sd, p_input, NULL /* no cat */ );
+            vlc_gc_decref( p_input );
             INSERT_ELEM( p_sys->pp_input, p_sys->i_input, p_sys->i_input,
                          input_CreateThread( p_sd, p_input ) );
         }




More information about the vlc-devel mailing list