microsoft-authentication-library-common-for-objc icon indicating copy to clipboard operation
microsoft-authentication-library-common-for-objc copied to clipboard

Investigate possible memory leaking of NSDictionary when it is used in MSIDMacTokenCache

Open antrix1989 opened this issue 8 years ago • 0 comments

// Using the dictionary @{ key : value } syntax here causes _cache to leak. Yay legacy runtime!
NSDictionary *wrapper = [NSDictionary dictionaryWithObjectsAndKeys:cacheCopy, @"tokenCache",@CURRENT_WRAPPER_CACHE_VERSION, @"version", nil];

antrix1989 avatar Feb 20 '18 23:02 antrix1989