Fix additional string leaks when creating tramp_info.
authorAaron Oneal <aaron.oneal@spicypixel.com>
Wed, 24 Jul 2013 23:13:04 +0000 (16:13 -0700)
committerAaron Oneal <aaron.oneal@spicypixel.com>
Wed, 24 Jul 2013 23:13:04 +0000 (16:13 -0700)
commitad639e3e9984093697c5c3f69c6b2ebc0b4bdc16
treec636d8eb92105a48b7ef36e5c6f320654700b37a
parentc931c463c24ef4f257dc6dc4dafdc2ac81b8a9d3
Fix additional string leaks when creating tramp_info.

A recent change modified mono_tramp_info_create to duplicate the name string passed to it, but all of the references that were previously duping the name before calling were not updated at the same time. This resulted in several memory leaks. This fix removes the now extra string duplications.
mono/mini/exceptions-amd64.c
mono/mini/exceptions-arm.c
mono/mini/exceptions-ppc.c
mono/mini/exceptions-s390x.c
mono/mini/exceptions-x86.c
mono/mini/mini-amd64.c
mono/mini/mini-arm.c
mono/mini/mini-mips.c
mono/mini/mini-ppc.c
mono/mini/mini-s390x.c
mono/mini/mini-x86.c