commit | 940e8a344548016451775ee84321dc4cc067b5ef | [log] [tgz] |
---|---|---|
author | Jesse McKenna <jessemckenna@google.com> | Tue Feb 13 18:08:20 2024 |
committer | Crashpad LUCI CQ <crashpad-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 13 18:34:48 2024 |
tree | 553d206dbe52f65869148b496bc424d291500f76 | |
parent | 5075fb617a384392bc0113b55a2b5ce1c0923df3 [diff] |
Fix leaky CrashpadInfo test CrashpadInfo::AddUserDataMinidumpStream() and UpdateUserDataMinidumpStream() allocate memory for the newly added streams. This change makes the CrashpadInfo test free that allocated memory to prevent memory leaks from these tests. This is intended to fix the ASAN failures seen on crrev.com/c/5285881: https://ci.chromium.org/ui/p/chromium/builders/try/linux_chromium_asan_rel_ng/1839072/overview Bug: crashpad:474 Change-Id: I6e030291594d22e316942a58805a177ce448053b Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5292137 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Jesse McKenna <jessemckenna@google.com>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.