From 558982c5ade8ae35156d8e6d05e117d49bfa6d45 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Sun, 29 Jun 2008 23:04:31 +0200 Subject: Add auto_free_ref to auto_free stuff; bug 6694 Also add auto_free.h to EXTRA_DIST. --- tapsets.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index a405cef0..c054d24c 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1184,7 +1184,8 @@ struct dwflpp size_t nsrcs = 0; dwarf_query * q = static_cast(data); int lineno = lines[0]; - + auto_free_ref free_srcsp(srcsp); + get_module_dwarf(); if (line_type == RELATIVE) @@ -1210,7 +1211,6 @@ struct dwflpp dwarf_getsrc_file (module_dwarf, srcfile, l, 0, &srcsp, &nsrcs)); - auto_free srcsp_af(srcsp); if (line_type == WILDCARD || line_type == RANGE) { Dwarf_Addr line_addr; -- cgit