Fix Unref being called twice on message stringer (#29)

This commit is contained in:
jwmwalrus
2022-02-06 04:48:09 -05:00
committed by GitHub
parent 5437f8a654
commit 640725988f

View File

@@ -33,7 +33,6 @@ func (m *Message) String() string {
case MessageTag:
tags := m.ParseTags()
if tags != nil {
defer tags.Unref()
msg += tags.String()
}