From 7e960b208fdec3205dd64747ed8b6a142f75e51e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 14 Aug 2009 23:35:33 +0000 Subject: * symfile.c (find_separate_debug_file): Remove double free of canon_name. --- gdb/symfile.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/symfile.c') 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); } } -- cgit v1.1