mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 06:14:21 +01:00
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:
parent
efcd534bd2
commit
a8d599dc00
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user