Fix memory leak on UpdateManager's event loop wrapper. When an scheduled Closure is canceled, the memory associated with the Closure object wasn't removed, leaking its memory. This patch deletes the Closure in both cases: when it is executed and when it is canceled. BUG=chromium:378548 TEST=`FEATURES="test" USE="clang asan" emerge-link update_engine` doesn't complain about RunFromMainLoopAfterTimeout. Change-Id: I10d8f58aaf0fb1fd746701a25f3ef0f8ccdf6c12 Reviewed-on: https://chromium-review.googlesource.com/202061 Reviewed-by: Alex Deymo <[email protected]> Commit-Queue: Alex Deymo <[email protected]> Tested-by: Alex Deymo <[email protected]>