From: Doug Evans Date: Fri, 14 Aug 2009 23:35:33 +0000 (+0000) Subject: * symfile.c (find_separate_debug_file): Remove double free of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e960b208fdec3205dd64747ed8b6a142f75e51e;p=binutils-gdb.git * symfile.c (find_separate_debug_file): Remove double free of canon_name. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 297f57f5671..4215476d2cd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-08-14 Doug Evans + + * symfile.c (find_separate_debug_file): Remove double free of + canon_name. + 2009-08-14 Pedro Alves * top.c (any_thread_of): Delete. 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); } }