diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-09-12 07:59:37 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-09-12 09:07:05 -0700 |
commit | 3691f2a234c0ef361a54a946098ebdfdcf4fc391 (patch) | |
tree | 4a310a946ff84237b8cfe70c0797af1c9b5bd092 /src/gc/objecthandle.cpp | |
parent | b9e4ab6395587064d99820f33b807abe20124dc2 (diff) | |
download | coreclr-3691f2a234c0ef361a54a946098ebdfdcf4fc391.tar.gz coreclr-3691f2a234c0ef361a54a946098ebdfdcf4fc391.tar.bz2 coreclr-3691f2a234c0ef361a54a946098ebdfdcf4fc391.zip |
Use NULL for consistency
Diffstat (limited to 'src/gc/objecthandle.cpp')
-rw-r--r-- | src/gc/objecthandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/objecthandle.cpp b/src/gc/objecthandle.cpp index 8c309056b1..8e07e9e20f 100644 --- a/src/gc/objecthandle.cpp +++ b/src/gc/objecthandle.cpp @@ -1841,7 +1841,7 @@ void DestroyWinRTWeakHandle(OBJECTHANDLE handle) // runtime, since if we are pointing at a managed object, we should not be using a HNDTYPE_WEAK_WINRT // but rather a HNDTYPE_WEAK_SHORT or HNDTYPE_WEAK_LONG. IWeakReference* pWinRTWeakReference = reinterpret_cast<IWeakReference*>(HndGetHandleExtraInfo(handle)); - if (pWinRTWeakReference != nullptr) + if (pWinRTWeakReference != NULL) { pWinRTWeakReference->Release(); } |