Correct leak.

Uploaders were never released.
Review URL: http://breakpad.appspot.com/326001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@882 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
qsr@chromium.org 2011-11-10 16:28:20 +00:00
parent efcd534bd2
commit a8d599dc00

View File

@ -418,8 +418,8 @@ NSString *Breakpad::NextCrashReportToUpload() {
void Breakpad::UploadNextReport() {
NSString* configFile = NextCrashReportToUpload();
if (configFile) {
Uploader* uploader = [[Uploader alloc]
initWithConfigFile:[configFile UTF8String]];
Uploader* uploader = [[[Uploader alloc]
initWithConfigFile:[configFile UTF8String]] autorelease];
if (uploader)
[uploader report];
}