updater: fix memory leak based on static analysis.

Bug: 26907377
Change-Id: I384c0131322b2d12f0ef489735e70e86819846a4
1 file changed