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 }