[vlc-devel] commit: test: Don't leak a libvlc_media in libvlc/meta.c. (Pierre d' Herbemont )

git version control git at videolan.org
Sat Apr 19 03:31:39 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Apr 19 03:31:53 2008 +0200| [d549f9b30d2749e2a5ba7e0479d7642f3f42d031]

test: Don't leak a libvlc_media in libvlc/meta.c.

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

 test/libvlc/meta.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/libvlc/meta.c b/test/libvlc/meta.c
index bf972ba..882a57f 100644
--- a/test/libvlc/meta.c
+++ b/test/libvlc/meta.c
@@ -52,6 +52,7 @@ static void test_meta (const char ** argv, int argc)
     assert (artist);
 
     free (artist);
+    libvlc_media_release (media);
     libvlc_release (vlc);
 }
 




More information about the vlc-devel mailing list