From 5f2dad16d5181acf5e18589b08ae8d3e51d2d897 Mon Sep 17 00:00:00 2001 From: ucwong Date: Thu, 23 May 2024 06:47:33 +0800 Subject: [PATCH] clear and free --- metainfo/announcelist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metainfo/announcelist.go b/metainfo/announcelist.go index fccfbbf25e..c6ed907d1f 100644 --- a/metainfo/announcelist.go +++ b/metainfo/announcelist.go @@ -34,5 +34,5 @@ func (al AnnounceList) DistinctValues() (ret []string) { } func (al AnnounceList) Clear() { - clear(al) + al = nil }