Fix memory leak on DeltaPerformerTest.
The ApplyDeltaFile() function creates a DeltaPerformer that should be
free'd by the caller test. Although this is not the best design, we
need to first fix the memory leaks on the unittest code.
BUG=chromium:378548
TEST=`FEATURES="test" USE="clang asan" emerge-link update_engine` doesn't complain at all.
Change-Id: I92d7ee0f7f9534c5631d4bc988f433ddd66173a0
Reviewed-on: https://chromium-review.googlesource.com/202068
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: David Zeuthen <zeuthen@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
1 file changed