OSDN Git Service

fix memory leak in unittest.
authorYunlian Jiang <yunlian@google.com>
Wed, 30 Aug 2017 16:50:05 +0000 (09:50 -0700)
committerYunlian Jiang <yunlian@google.com>
Wed, 30 Aug 2017 17:13:39 +0000 (10:13 -0700)
commit6eb049322c26431961fb69168a113bfd27016ab3
treeb2a53e99b7916ac1588b80580e3c7aa349c25977
parent5c4dcdb68dccf48c701d8daa4e8b88a566f6eb1e
fix memory leak in unittest.

This fixes the warning
warning: Potential leak of memory pointed to by 'salt' [clang-analyzer-cplusplus.NewDeleteLeaks]

Bug: None
Test: The warning is gone.
Change-Id: I1a31188775c2a099949bf8b8e2613b71af5081cd
verity/build_verity_tree.cpp