mono_attach_load_agent: Fix leaks, alloc, copy. (#15950)
commit7ca15e5a42ad03572e9209abb7e030ad712ee4b5
authorJay Krell <jaykrell@microsoft.com>
Tue, 27 Aug 2019 07:46:35 +0000 (27 00:46 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 27 Aug 2019 07:46:35 +0000 (27 09:46 +0200)
tree218ee6073a74423e99be719b64236b08b18907d0
parenta0307b1e3458569c0a02c0492c3f7b4ef09200ec
mono_attach_load_agent: Fix leaks, alloc, copy. (#15950)

Extracted and slightly modified from https://github.com/mono/mono/pull/15868.
configure.ac
mcs/class/Mono.Management/Mono.Attach/VirtualMachine.cs
mono/metadata/attach.c