OSDN Git Service

fix some memory leaks.
authorYunlian Jiang <yunlian@google.com>
Wed, 1 Feb 2017 00:17:50 +0000 (16:17 -0800)
committerJoe Onorato <joeo@google.com>
Thu, 20 Apr 2017 17:28:00 +0000 (10:28 -0700)
commit89547ce0178d5b5b66badc5a422cdbecc9ddac34
tree19c4d7620dcdf797018dd45b9c836c750a0b7a9c
parent88ac6d9605083cb08be965fb13db26439b70a2f0
fix some memory leaks.

This fixes some warnings like

warning: Potential leak of memory pointed to by 'target'
[clang-analyzer-cplusplus.NewDeleteLeaks]

Bug: None
Test: The warnings are gone.
Change-Id: I3708671bbc9965133439664b766df3236d1b01bf
tools/incident_report/main.cpp