commit | 51e04997c5501c2af50fb1f2bbb7763ebf6eafe2 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@chromium.org> | Thu Apr 03 14:06:29 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Fri Apr 04 20:27:27 2014 +0000 |
tree | 85b9c22ba677fd92fb3f79e5dd2d9c8797cac737 | |
parent | bccbc387ed23ec18adcd0ef8b50d958ef38cd619 [diff] |
Missing delete on MockSystemState. The MockSysteState object leaks the UpdateAttempterMock every time you create an instance, not only leaking the memory but also skiping the mock expectations verification step. This patch fixes that. BUG=chromium:358278 TEST=Unit tests pass. Change-Id: I13a3378c61bc9b108fcff7f4b6ed89397e96bd9d Reviewed-on: https://chromium-review.googlesource.com/193112 Tested-by: Alex Deymo <deymo@chromium.org> Reviewed-by: Chris Sosa <sosa@chromium.org> Commit-Queue: Alex Deymo <deymo@chromium.org>