]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Punt sharing_stack, seems to be leaking.
authorRoland McGrath <roland@redhat.com>
Fri, 15 Jan 2010 04:38:18 +0000 (20:38 -0800)
committerRoland McGrath <roland@redhat.com>
Fri, 15 Jan 2010 04:38:18 +0000 (20:38 -0800)
libdw/c++/dwarf
libdw/c++/dwarf_tracker

index 71e3185ba274486226427134cb66be6aae343fe0..c698c1e714173f202180238941aee067627d01b3 100644 (file)
@@ -806,7 +806,7 @@ namespace elfutils
       private:
 
        typedef raw_children_type::const_iterator raw_iterator;
-       subr::sharing_stack<raw_iterator> _m_stack;
+       subr::stackish<raw_iterator> _m_stack;
 
        /* Push and pop until _m_stack.top () == raw_children_type::end ()
           or it's looking at a DIE other than DW_TAG_imported_unit.  */
index 33cd2265ed723377efff8b20ccbafd57a069e380..cbd253e86fc96ccd9d629f910d70995f18669c79 100644 (file)
@@ -96,7 +96,7 @@ namespace elfutils
        _m_path in _m_seen so that a derived tracker made from path_to
        "context" can use the right _m_root.
     */
-    typedef subr::sharing_stack<die> die_path;
+    typedef subr::stackish<die> die_path;
 
   private:
     // We use an empty list as a marker; every path includes at least one DIE.