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

[Bug] Need one more err check and defer

Open TheRealMal opened this issue 1 year ago • 1 comments

Another err check should be placed with close defer https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/882b562b72d131d87e866691c54cbc08111ba804/apps/internal/oauth/ops/authority/authority.go#L553-L558 Like here https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/882b562b72d131d87e866691c54cbc08111ba804/apps/internal/oauth/ops/authority/authority.go#L548-L551

TheRealMal avatar Jun 03 '24 15:06 TheRealMal

Sorry for the late reply. Can you please describe how this inconsistency affects an app using MSAL Go?

bgavrilMS avatar Aug 15 '24 11:08 bgavrilMS