Fix a ZeroMemory call in methodcontext.cpp (dotnet/coreclr#23843)
authorOmair Majid <omajid@redhat.com>
Wed, 17 Apr 2019 03:18:37 +0000 (23:18 -0400)
committerJan Kotas <jkotas@microsoft.com>
Wed, 17 Apr 2019 03:18:37 +0000 (20:18 -0700)
commit320dfc5a6387a90d329681820ee8b7c5d13f2332
tree11759f8a126ccb0f4b6fcfdedc63c2f752395e62
parentf92ebc5385bc5a4a0e570340e8df4e61c92b4ce9
Fix a ZeroMemory call in methodcontext.cpp (dotnet/coreclr#23843)

The argument is of type `GetArgTypeValue` and so the `sizeof()` should be
done on `GetArgTypeValue`, not on the different type `GetArgType`.

Commit migrated from https://github.com/dotnet/coreclr/commit/df2f4c4feb273545e91fd8d7d170dc424b741f19
src/coreclr/src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp