From 393d9766851097d15c2231c515158e7bc0cc4ac4 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 13 May 2021 22:32:29 +0800 Subject: [PATCH] SquashSRS4: Fix memory leak --- trunk/src/app/srs_app_statistic.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/app/srs_app_statistic.cpp b/trunk/src/app/srs_app_statistic.cpp index 4e58e9511..d4e856be0 100644 --- a/trunk/src/app/srs_app_statistic.cpp +++ b/trunk/src/app/srs_app_statistic.cpp @@ -214,6 +214,7 @@ SrsStatisticClient::SrsStatisticClient() SrsStatisticClient::~SrsStatisticClient() { + srs_freep(req); } srs_error_t SrsStatisticClient::dumps(SrsJsonObject* obj)