[vlc-commits] commit: Fix memory leak. (=?UTF-8?Q?R=C3=A9mi=20Duraffort=20?=)

git at videolan.org git at videolan.org
Thu Dec 30 20:51:25 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Dec 30 20:50:30 2010 +0100| [f0dfd71b45c7f6b8625841941644a7fdea9fd457] | committer: Rémi Duraffort 

Fix memory leak.

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

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

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 2242f6f..d9edbda 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -366,6 +366,7 @@ static char *relative_URI(stream_t *s, const char *uri, const char *path)
                  p_sys->m3u8.psz_host, path ? path : psz_path, uri) < 0)
            goto fail;
     }
+    free(psz_path);
     return psz_uri;
 
 fail:



More information about the vlc-commits mailing list