diff options
author | Tom Deseyn <tom.deseyn@gmail.com> | 2021-06-28 15:57:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 15:57:30 +0300 |
commit | 78be35936a48414df83460dadf9003e053499f84 (patch) | |
tree | 5176a1a61719062342f4718829871e8cf59ef48b /src/coreclr/md | |
parent | 084392d5d642dcb42edfd8f168042ad3695d5d3f (diff) |
Fix EnumMemberRefs always returning NULL (#54805)
Diffstat (limited to 'src/coreclr/md')
-rw-r--r-- | src/coreclr/md/compiler/import.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/md/compiler/import.cpp b/src/coreclr/md/compiler/import.cpp index 6559b2b31e9..ac5472c1e4c 100644 --- a/src/coreclr/md/compiler/import.cpp +++ b/src/coreclr/md/compiler/import.cpp @@ -762,7 +762,7 @@ STDMETHODIMP RegMeta::EnumMemberRefs( // S_OK, S_FALSE, or error. // set the output parameter *ppmdEnum = pEnum; - *ppmdEnum = 0; + pEnum = NULL; } // fill the output token buffer |