aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-08-14 23:35:33 +0000
committerDoug Evans <dje@google.com>2009-08-14 23:35:33 +0000
commit7e960b208fdec3205dd64747ed8b6a142f75e51e (patch)
tree61e36b69b5e7621842c7d0927676e7c4ff525f78 /gdb
parentb8fa0bfa752bb672c66a1d6fdefcdf4cb308a712 (diff)
downloadgdb-7e960b208fdec3205dd64747ed8b6a142f75e51e.zip
gdb-7e960b208fdec3205dd64747ed8b6a142f75e51e.tar.gz
gdb-7e960b208fdec3205dd64747ed8b6a142f75e51e.tar.bz2
* symfile.c (find_separate_debug_file): Remove double free of
canon_name.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 297f57f..4215476 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-14 Doug Evans <dje@google.com>
+
+ * symfile.c (find_separate_debug_file): Remove double free of
+ canon_name.
+
2009-08-14 Pedro Alves <pedro@codesourcery.com>
* top.c (any_thread_of): Delete.
diff --git a/gdb/symfile.c b/gdb/symfile.c
index c182faa..e30b613 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1457,7 +1457,6 @@ find_separate_debug_file (struct objfile *objfile)
xfree (canon_name);
xfree (basename);
xfree (dir);
- xfree (canon_name);
return xstrdup (debugfile);
}
}