[vlc-devel] commit: decref the correct value in vlm_ControlMediaDel (Filippo Carone )

git version control git at videolan.org
Wed Apr 9 00:32:02 CEST 2008


vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Wed Apr  9 00:31:53 2008 +0200| [dd2c908fc5096d6462c61f096c564dbc4c5f0c2d]

decref the correct value in vlm_ControlMediaDel

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

 src/input/vlm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/vlm.c b/src/input/vlm.c
index 2565af0..c532a4e 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -2399,7 +2399,7 @@ static int vlm_ControlMediaDel( vlm_t *p_vlm, int64_t id )
 
     vlm_media_Clean( &p_media->cfg );
 
-    vlc_gc_decref( &p_media->vod.p_item );
+    vlc_gc_decref( p_media->vod.p_item );
 
     TAB_REMOVE( p_vlm->i_media, p_vlm->media, p_media );
 




More information about the vlc-devel mailing list