mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-24 08:15:01 +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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue