[metadata] Fix memory leak for the last iteration of the loop, Coverity mono/mono...
authorMiguel de Icaza <miguel@gnome.org>
Sat, 6 Apr 2019 09:46:27 +0000 (05:46 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Sat, 6 Apr 2019 09:46:27 +0000 (11:46 +0200)
commit5403814f33050cb6fccfc9a508205d79ea0eda31
treef83d745b1d3d1ee5772c9a97738afdd5f29ac98f
parent0a69639e6f9812c9e3742b74e283a79f2df1a392
[metadata] Fix memory leak for the last iteration of the loop, Coverity mono/mono#1444258 (mono/mono#13856)

Commit migrated from https://github.com/mono/mono/commit/7116ecaf4eeceed143023352d597e4d09f1dfc95
src/mono/mono/metadata/loader.c