aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
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/symfile.c
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/symfile.c')
-rw-r--r--gdb/symfile.c1
1 files changed, 0 insertions, 1 deletions
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);
}
}