From 835643ff858560faf49feee4cbb1a91d5e97e00c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 3 Apr 2016 22:10:11 +0200 Subject: [PATCH] Fix yet another memory leak in the serving part. --- httpd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/httpd.cpp b/httpd.cpp index 1468f9d..401509d 100644 --- a/httpd.cpp +++ b/httpd.cpp @@ -197,6 +197,7 @@ HTTPD::Mux::Mux(AVFormatContext *avctx, int width, int height) HTTPD::Mux::~Mux() { av_write_trailer(avctx); + av_free(avctx->pb->buffer); av_free(avctx->pb); avformat_free_context(avctx); } -- 2.39.2