{"action":"created","issue":{"url":"https://api.github.com/repos/davidevernizzi/oauth/issues/128","labels_url":"https://api.github.com/repos/davidevernizzi/oauth/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/davidevernizzi/oauth/issues/128/comments","events_url":"https://api.github.com/repos/davidevernizzi/oauth/issues/128/events","html_url":"https://github.com/davidevernizzi/oauth/issues/128","id":86600686,"number":128,"title":"Memory leak in [OAMutableURLRequest _signatureBaseString]","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidevernizzi/oauth/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/davidevernizzi/oauth/labels/Lib-Obj-C","name":"Lib-Obj-C","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-09T13:30:30Z","updated_at":"2015-07-07T04:21:28Z","closed_at":null,"body":"```\nWe have an app that incorporates the Obj-C 2.0 lib for Twitter OAuth.\n\nWhen we run the app through instruments we discover a memory leak tracing\nback to this method. We can't figure out why because everything seems to be\nautoreleased.\n\nThe issue appears to be with the following:\n\n[self URLEncodedString: normalizedRequestParameters]\n\nwhich is part of:\n\n    // OAuth Spec, Section 9.1.2 \"Concatenate Request Elements\"\n    NSString *ret = [NSString stringWithFormat:@\"%@&%@&%@\",\n\t\t\t\t\t [self HTTPMethod],\n\t\t\t\t\t [self URLEncodedString: [self URLStringWithoutQueryFromURL: [self URL]]],\n\t\t\t\t\t [self URLEncodedString: normalizedRequestParameters]];\n\nI can't work out what to do to fix this - we've already cleared one memory\nissue by releasing signature at the bottom of -(void)prepare in the same\nfile, but this one has stumped us.\n\nWhen we get to the bottom of it, we'll post a patch, but any help is\nappreciated along the way. We're completely stuck!\n\nThanks,\n\nJohn\n```\n\nOriginal issue reported on code.google.com by `Hend...@googlemail.com` on 2 Oct 2009 at 6:11"},"comment":{"url":"https://api.github.com/repos/davidevernizzi/oauth/issues/comments/119069324","html_url":"https://github.com/davidevernizzi/oauth/issues/128#issuecomment-119069324","issue_url":"https://api.github.com/repos/davidevernizzi/oauth/issues/128","id":119069324,"user":{"login":"larceneaux","id":10555961,"avatar_url":"https://avatars.githubusercontent.com/u/10555961?v=3","gravatar_id":"","url":"https://api.github.com/users/larceneaux","html_url":"https://github.com/larceneaux","followers_url":"https://api.github.com/users/larceneaux/followers","following_url":"https://api.github.com/users/larceneaux/following{/other_user}","gists_url":"https://api.github.com/users/larceneaux/gists{/gist_id}","starred_url":"https://api.github.com/users/larceneaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larceneaux/subscriptions","organizations_url":"https://api.github.com/users/larceneaux/orgs","repos_url":"https://api.github.com/users/larceneaux/repos","events_url":"https://api.github.com/users/larceneaux/events{/privacy}","received_events_url":"https://api.github.com/users/larceneaux/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T04:21:28Z","updated_at":"2015-07-07T04:21:28Z","body":"same issue here, but even more worriesome is the Twitter SDK is interfering with the Facebook SDK and causing memory leaks in the facebook sdk"}}