From: Aditya Mandaleeka Date: Tue, 11 Apr 2017 03:21:07 +0000 (-0700) Subject: Remove double initialization of variables in app domain creation. X-Git-Tag: submit/tizen/20210909.063632~11030^2~7300^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=768d2571372c6afb779124a313c6a053e6b1a94e;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Remove double initialization of variables in app domain creation. Commit migrated from https://github.com/dotnet/coreclr/commit/afbb4c1477fe2cd2276acaec2ad5f95f3b4b3c72 --- diff --git a/src/coreclr/src/vm/appdomain.cpp b/src/coreclr/src/vm/appdomain.cpp index 5664740..167db2d 100644 --- a/src/coreclr/src/vm/appdomain.cpp +++ b/src/coreclr/src/vm/appdomain.cpp @@ -4067,11 +4067,6 @@ AppDomain::AppDomain() m_dwThreadEnterCount = 0; m_dwThreadsStillInAppDomain = (ULONG)-1; - m_pSecDesc = NULL; - m_hHandleTableBucket=NULL; - - m_ExposedObject = NULL; - #ifdef FEATURE_COMINTEROP m_pRefDispIDCache = NULL; m_hndMissing = NULL; @@ -4091,7 +4086,7 @@ AppDomain::AppDomain() m_dwRefTakers=0; m_dwCreationHolders=0; #endif - + #ifdef FEATURE_APPDOMAIN_RESOURCE_MONITORING m_ullTotalProcessorUsage = 0; m_pullAllocBytes = NULL;