adhd: Fix memory leaks in polled_interval_checker_unittest

(16/17 leaking tests for the issue)

Destroy polled_interval in the end of some tests.

BUG=chromium:844092
TEST=FEATURES="test noclean nostrip" emerge-eve adhd
and
valgrind --leak-check=full --show-leak-kinds=all pooled_interval_checker

Change-Id: I4cfb2937200ed9b6da5588bc0e0ec5e89525445b
Reviewed-on: https://chromium-review.googlesource.com/1074913
Commit-Ready: Chih-Yang Hsia <paulhsia@chromium.org>
Tested-by: Chih-Yang Hsia <paulhsia@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
1 file changed