X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=httpd.cpp;fp=httpd.cpp;h=401509d265f5404a63119691e345d35f7f954d86;hb=835643ff858560faf49feee4cbb1a91d5e97e00c;hp=1468f9d7a4934528f5ce7de1eb336bd6d0c5caba;hpb=e61113cddee3a8ef4ccb98363c08a085d48a7afc;p=nageru 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); }