Plug leak of CustomAttribute initializer name (#14544)
commitfe74f621408d9fc822ec3b334f1bdb0a2b488cf2
authorMarius Ungureanu <teromario@yahoo.com>
Thu, 23 May 2019 02:59:20 +0000 (23 05:59 +0300)
committerZoltan Varga <vargaz@gmail.com>
Thu, 23 May 2019 02:59:20 +0000 (22 22:59 -0400)
treec1c60e2804e3adc8a69daa0cd83df51d3e5ceda2
parent84bc4bfb8bae865ef7fba42b174c7c490a524aaf
Plug leak of CustomAttribute initializer name (#14544)

* Plug leak of CustomAttribute initializer name

All the CustomAttribute initializer names (fields, property) except the last were leaked. Ensure all names are freed.

Fixes #14543

* Apply suggestions from code review

Co-Authored-By: Martin Baulig <mabaul@microsoft.com>
mono/metadata/custom-attrs.c