]> sourceware.org Git - systemtap.git/commit - dwflpp.cxx
valgrind cleanups: memory leaks, uninit variable warnings
authorFrank Ch. Eigler <fche@elastic.org>
Wed, 27 Oct 2010 19:35:10 +0000 (15:35 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Wed, 27 Oct 2010 19:35:10 +0000 (15:35 -0400)
commite789965751d7f6dac4d5e7cdce71586595bfc572
treed9d12194d1cbe95b8b178fed4194be04b7214615
parente5a24d28d4cfac54046375978b3784b0e5bdce8a
valgrind cleanups: memory leaks, uninit variable warnings

* dwflpp.cxx (dwflpp dtor): delete mod_info.
  (express_as_string): Don't preallocate memory for open_memstream.
  (literal_stmt_for_*): Fully free obstack after loc2c work.
* hash.cxx (add_file): Clear out struct stat before hashing.
* translate.cxx (dump_unwindsyms): Free eh/debug_frame_hdr at end.
dwflpp.cxx
hash.cxx
translate.cxx
This page took 0.024566 seconds and 5 git commands to generate.