sayyam / instagramapi

A wrapper on instagram api for android
74 stars 15 forks source link

Instagram Engine holds long lived static teference to context #2

Open tunjid opened 8 years ago

tunjid commented 8 years ago

The InstagramEngine class holds a static reference to whatever context was passed in, this causes a memory leak. The reference held should be context.getApplicationContext, not context.

yasiralijaved commented 6 years ago

The library CanaryLeak says that InstgramEngine.instagramLoginButtonCallback is leaking the memory of InstagramAuthActivity.