summaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-08-14 23:35:32 +0000
committerDoug Evans <dje@google.com>2009-08-14 23:35:32 +0000
commitc727449bc8cdba5f6dfcf740e6c11e4cebc179b8 (patch)
treecec1168dcd4ce481bcb5a64d319eb3ffbcb713b8 /gdb/symfile.c
parente183d2cfa59f743c78af6709f65fd2c12b151ad6 (diff)
downloadgdb-c727449bc8cdba5f6dfcf740e6c11e4cebc179b8.tar.gz
* 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 c182faac5d1..e30b613b93f 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);
}
}