On Tue, 8 Nov 2011, Martin Storsjö wrote:

On Tue, 8 Nov 2011, Anton Khirnov wrote:


On Mon, 7 Nov 2011 11:52:49 +0200, Martin Storsjö <[email protected]> wrote:
@@ -463,6 +474,7 @@ static int http_close(URLContext *h)

     if (s->hd)
         ffurl_close(s->hd);
+    av_freep(&s->headers);

av_opt_free() isn't called for protocols? Something to be fixed
I suppose.

It might be - I just added it to be safe, without checking if it actually was necessary, I'll look into that.

Without this, valgrind says the memory is leaked.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to