Skip to content

Commit

Permalink
clear and free
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong committed May 22, 2024
1 parent 6145278 commit 5f2dad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metainfo/announcelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ func (al AnnounceList) DistinctValues() (ret []string) {
}

func (al AnnounceList) Clear() {
clear(al)
al = nil
}

0 comments on commit 5f2dad1

Please sign in to comment.