Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Unified Diff: components/breakpad/app/breakpad_linux_impl.h

Issue 296553002: Breakpad Linux: Prevent some memory leaks. (Try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix asan Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/breakpad/app/breakpad_linux_impl.h
===================================================================
--- components/breakpad/app/breakpad_linux_impl.h (revision 271470)
+++ components/breakpad/app/breakpad_linux_impl.h (working copy)
@@ -19,7 +19,6 @@
typedef google_breakpad::NonAllocatingMap<256, 256, 64> CrashKeyStorage;
-static const size_t kDistroSize = 128;
#if defined(ADDRESS_SANITIZER)
static const size_t kMaxAsanReportSize = 1 << 16;
#endif
@@ -31,10 +30,10 @@
// The size of the iovec used to transfer crash data from a child back to the
// browser.
#if !defined(ADDRESS_SANITIZER)
-const size_t kCrashIovSize = 7;
+const size_t kCrashIovSize = 6;
#else
// Additional field to pass the AddressSanitizer log to the crash handler.
-const size_t kCrashIovSize = 8;
+const size_t kCrashIovSize = 7;
#endif
// BreakpadInfo describes a crash report.

Powered by Google App Engine
This is Rietveld 408576698