projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
084392d
)
Fix EnumMemberRefs always returning NULL (#54805)
author
Tom Deseyn
<tom.deseyn@gmail.com>
Mon, 28 Jun 2021 12:57:30 +0000
(14:57 +0200)
committer
GitHub
<noreply@github.com>
Mon, 28 Jun 2021 12:57:30 +0000
(
05:57
-0700)
src/coreclr/md/compiler/import.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/md/compiler/import.cpp
b/src/coreclr/md/compiler/import.cpp
index
6559b2b
..
ac5472c
100644
(file)
--- 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