]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Fix a memory error
authorPetr Machata <pmachata@redhat.com>
Mon, 30 Nov 2009 06:47:18 +0000 (07:47 +0100)
committerPetr Machata <pmachata@redhat.com>
Wed, 18 Aug 2010 12:55:14 +0000 (14:55 +0200)
src/dwarflint/check_debug_info.cc

index 769b1dcc930d4d43c93cf82f08a89f18c9397afc..623dbc30af3bf8e97173dfa6da9c1bd37f65bfe3 100644 (file)
@@ -1186,8 +1186,3 @@ check_debug_info::check_debug_info (dwarflint &lint)
   if (cus.size () > 0)
     assert (cus.back ().next == NULL);
 }
-
-check_debug_info::~check_debug_info ()
-{
-  cu_free (&cus.back ());
-}