[vlc-commits] http: fix memory leak

Rémi Denis-Courmont git at videolan.org
Sun Mar 20 19:07:43 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 20 20:07:25 2016 +0200| [d3676b5b35f7bd94b47138feafad53976f34d09c] | committer: Rémi Denis-Courmont

http: fix memory leak

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

 modules/access/http/resource.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/http/resource.c b/modules/access/http/resource.c
index 34f0cc9..5e360fb 100644
--- a/modules/access/http/resource.c
+++ b/modules/access/http/resource.c
@@ -114,6 +114,7 @@ retry:
          * pass Vary to clarify. It cannot be caused by If-*, Range, TE or the
          * other transfer- rather than representation-affecting header lines.
          */
+        vlc_http_msg_destroy(resp);
         res->negotiate = false;
         goto retry;
     }



More information about the vlc-commits mailing list