]> sourceware.org Git - systemtap.git/commit
PR16719: Fix a couple leaked Dwfl instances
authorJosh Stone <jistone@redhat.com>
Thu, 10 Apr 2014 00:27:13 +0000 (17:27 -0700)
committerJosh Stone <jistone@redhat.com>
Thu, 10 Apr 2014 00:27:13 +0000 (17:27 -0700)
commit44392d731d59d98a617f80c1201745b14095b0a7
treeb815e9ef469eae1c54ad89915b012c2c84b29fc1
parentcd87311b90a49345f0da704ea376c75230d92162
PR16719: Fix a couple leaked Dwfl instances

* setupdwfl.cxx (setup_dwfl_kernel): When recursing into another round
  after downloading, call dwfl_end on the Dwfl that we already started.
* tapset.cxx (tracepoint_builder::init_dw): Call dwfl_end on the Dwfl
  used to fill in the s.kernel_source_tree.
* testsuite/systemtap.base/pr16719.exp: Add a tracepoint subtest.
setupdwfl.cxx
tapsets.cxx
testsuite/systemtap.base/pr16719.exp
This page took 0.028309 seconds and 5 git commands to generate.