summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-04 17:11:29 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-04 17:11:29 -0400
commit53f7dd30e87fa480c5d43ce2a1312ce27a4372c9 (patch)
tree4f1c64048d43c50c11877a66d3f7f918e43a0f7b /tapsets.cxx
parent1b94bf6d310cf41041d0a6c24be85a892d443708 (diff)
parent422b0781177e0755df5542e1c70e809e6f3cfe89 (diff)
downloadsystemtap-steved-53f7dd30e87fa480c5d43ce2a1312ce27a4372c9.tar.gz
systemtap-steved-53f7dd30e87fa480c5d43ce2a1312ce27a4372c9.tar.xz
systemtap-steved-53f7dd30e87fa480c5d43ce2a1312ce27a4372c9.zip
Merge commit 'origin/master' into pr6429-comp-unwindsyms
* commit 'origin/master': ubuntu (2.6.24-16-server) kernel compatibility fix client/server take 2. See bz6565. Add functioncallcount.meta and functioncallcount.stp. Add para-callgraph.stp and para-callgraph.meta. Fixed __stp_get_mm_path() error return code. diagnostics improvement: print arch/mach at top if -vv Make _vfs.generic_commit_write only for kernel<=2.6.25 Handles "mortally wounded" threads correctly when detaching. further clarify that elfutils need not be absolutely freshest, nor rebuilt every time point out releases/ directory; clarify optionality of elfutils bundling Add auto_free_ref to auto_free stuff; bug 6694
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 35428fcd..56838140 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1184,7 +1184,8 @@ struct dwflpp
size_t nsrcs = 0;
dwarf_query * q = static_cast<dwarf_query *>(data);
int lineno = lines[0];
-
+ auto_free_ref<Dwarf_Line**> 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;