[vlc-commits] test: media: fix memory leak

Alexandre Janniaux git at videolan.org
Thu Jan 28 11:10:28 UTC 2021


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Wed Jan 27 16:07:58 2021 +0100| [daac6d85e279fa7c9abe5534c338b0fa55a2714a] | committer: Alexandre Janniaux

test: media: fix memory leak

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

 test/libvlc/media.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/libvlc/media.c b/test/libvlc/media.c
index 65673c855f..2d27cbb1d6 100644
--- a/test/libvlc/media.c
+++ b/test/libvlc/media.c
@@ -367,6 +367,7 @@ int main(int i_argc, char *ppsz_argv[])
         test_media_preparsed (vlc, psz_test_path, psz_test_url,
                               libvlc_media_parse_network,
                               libvlc_media_parsed_status_done);
+        libvlc_release(vlc);
         return 0;
     }
 



More information about the vlc-commits mailing list