Commit 4a2becbd authored by Kevin J. McCarthy's avatar Kevin J. McCarthy
Browse files

Fix memory leak parsing group addresses without a display name.

When there was a group address terminator with no previous
addresses (including the group display-name), an address would be
allocated but not attached to the address list.

Change this to only allocate when last exists.

It would be more correct to not allocate at all unless we are inside a
group list, but I will address that in a separate commit to master.
parent 464a9bc6
Pipeline #242883597 passed with stages
in 3 minutes and 1 second