From ed95a8f53da626dd4e09ec5753062bbd181f0ec5 Mon Sep 17 00:00:00 2001 From: Haibo Chen <495810242@qq.com> Date: Tue, 7 Feb 2023 20:26:54 +0800 Subject: [PATCH] GB: fix pointer not free (#3396) PICK 47c2d59b31f4d401ffef7f4a60fce8386d8cb52b Co-authored-by: pengfei.ma Co-authored-by: chundonglinlin --- trunk/src/app/srs_app_gb28181.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/src/app/srs_app_gb28181.cpp b/trunk/src/app/srs_app_gb28181.cpp index f0a1045cf..d54d6cf62 100644 --- a/trunk/src/app/srs_app_gb28181.cpp +++ b/trunk/src/app/srs_app_gb28181.cpp @@ -1565,6 +1565,9 @@ SrsGbMuxer::~SrsGbMuxer() close(); srs_freep(avc_); + srs_freep(aac_); + srs_freep(queue_); + srs_freep(pprint_); } srs_error_t SrsGbMuxer::initialize(std::string output)