diff options
author | qsr@chromium.org <qsr@chromium.org> | 2014-09-12 07:50:35 +0000 |
---|---|---|
committer | qsr@chromium.org <qsr@chromium.org> | 2014-09-12 07:50:35 +0000 |
commit | c75e316359ea962be11e468697c5c5ffbae0bcb1 (patch) | |
tree | 22aca9ce40e4e50cc6dbeb93b162a954e7557d8d /src/common | |
parent | Update processor.gyp file with new files added as part of microdump (diff) | |
download | breakpad-c75e316359ea962be11e468697c5c5ffbae0bcb1.tar.xz |
This CL initialize NSData in HTTPMultipartUpload.m to nil.
Problem introduced by issue 2764002.
R=qsr@chromium.org
Review URL: https://breakpad.appspot.com/2794002
Patch from Oliver Robin <olivierrobin@chromium.org>.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1374 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/mac/HTTPMultipartUpload.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mac/HTTPMultipartUpload.m b/src/common/mac/HTTPMultipartUpload.m index bd88cffa..29fa040b 100644 --- a/src/common/mac/HTTPMultipartUpload.m +++ b/src/common/mac/HTTPMultipartUpload.m @@ -191,7 +191,7 @@ [response_ release]; response_ = nil; - NSData *data; + NSData *data = nil; if ([[req URL] isFileURL]) { [[req HTTPBody] writeToURL:[req URL] options:0 error:error]; } else { |