This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Using dwfl_end to free dwfl


---
 src/ChangeLog   |    4 ++++
 src/addr2line.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 5e43910..a812f5d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-17  Rakesh Pandit  <rakesh@fedoraproject.org>
+
+	* addr2line.c (main): Use dwfl_end to free dwfl.
+
 2009-09-08  Roland McGrath  <roland@redhat.com>

 	* ar.c (main): Fix typo in message format.
diff --git a/src/addr2line.c b/src/addr2line.c
index 99264b0..e3f6371 100644
--- a/src/addr2line.c
+++ b/src/addr2line.c
@@ -173,6 +173,7 @@ main (int argc, char *argv[])
       while (++remaining < argc);
     }

+  dwfl_end (dwfl);
   return result;
 }

-- =

1.6.4.2

--===============8389101457109338282==--

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]