diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-10 18:08:09 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-10 18:08:09 +0000 |
commit | 073ce4ec6de306023cde5387ea55afc30e8eaeaa (patch) | |
tree | b77058e167755fc4815a115be3f503028ac4bb2a /gcc/coverage.c | |
parent | 83315e72c49ef55ac3143cb8ced62a40105e81e5 (diff) | |
download | gcc-073ce4ec6de306023cde5387ea55afc30e8eaeaa.tar.gz |
Fix leak of coverage.c:da_file_name
gcc/
2013-10-10 David Malcolm <dmalcolm@redhat.com>
* coverage.c (coverage_finish): Fix leak of da_file_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203388 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r-- | gcc/coverage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c index 9bc23c4bd9f..3c36c6f3f4b 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -1209,6 +1209,9 @@ coverage_finish (void) fn_ctor = coverage_obj_fn (fn_ctor, fn->fn_decl, fn); coverage_obj_finish (fn_ctor); } + + XDELETEVEC (da_file_name); + da_file_name = NULL; } #include "gt-coverage.h" |