From 73ab56ff307936c805e6cab045fb40a84f497b52 Mon Sep 17 00:00:00 2001 From: duzhuolin Date: Wed, 26 Jul 2023 00:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8A=82=E7=82=B9=E6=9C=AA?= =?UTF-8?q?=E9=87=8A=E6=94=BE=E5=AF=BC=E8=87=B4mem=5FLeak=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/storage/access/transam/xlog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gausskernel/storage/access/transam/xlog.cpp b/src/gausskernel/storage/access/transam/xlog.cpp index 015d48803..0c444f611 100755 --- a/src/gausskernel/storage/access/transam/xlog.cpp +++ b/src/gausskernel/storage/access/transam/xlog.cpp @@ -7289,6 +7289,7 @@ static void DropAllRecoverySlotForPitr() List *all_archive_slots = NIL; all_archive_slots = GetAllRecoverySlotsName(); if (all_archive_slots == NIL || all_archive_slots->length == 0) { + list_free_deep(all_archive_slots); return; }