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

Extracted and slightly modified from https://github.com/mono/mono/pull/15868.

Commit migrated from https://github.com/mono/mono/commit/7ca15e5a42ad03572e9209abb7e030ad712ee4b5
src/mono/configure.ac
src/mono/mono/metadata/attach.c