Fix memory leak of the demangled symbol name
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b10989a410d877aaf760780db55a7464b0ba0cb7..2ba163400899378fd590faa098a5e1ba88f1e1a5 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-09  Christian Biesinger  <cbiesinger@google.com>
+
+       * symtab.c (general_symbol_info::compute_and_set_names): Move the
+       unique_xmalloc_ptr outside the if to always free the demangled name.
+
 2020-01-08  Tom Tromey  <tromey@adacore.com>
 
        * xcoffread.c (enter_line_range, read_xcoff_symtab)
This page took 0.024771 seconds and 4 git commands to generate.