I have following code like below:
SPWeb web = SPContext.Current.Web; VariationLabel label = GetCurrentVariationLabel(web); return label;
Can this cause memory leak?How would I dispose this web?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community