From 78be35936a48414df83460dadf9003e053499f84 Mon Sep 17 00:00:00 2001 From: Tom Deseyn Date: Mon, 28 Jun 2021 14:57:30 +0200 Subject: [PATCH] Fix EnumMemberRefs always returning NULL (#54805) --- src/coreclr/md/compiler/import.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/md/compiler/import.cpp b/src/coreclr/md/compiler/import.cpp index 6559b2b..ac5472c 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 -- 2.7.4