aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
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);
}
}