* symfile.c (find_separate_debug_file): Remove double free of
authorDoug Evans <dje@google.com>
Fri, 14 Aug 2009 23:35:33 +0000 (23:35 +0000)
committerDoug Evans <dje@google.com>
Fri, 14 Aug 2009 23:35:33 +0000 (23:35 +0000)
canon_name.

gdb/ChangeLog
gdb/symfile.c

index 297f57f5671b0c37126a1cb723fd84b5f3393484..4215476d2cd7fc5e77d83e227baa0939699ff0fd 100644 (file)
@@ -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.
index c182faac5d1654a0c99b624de9b16e63bfde0089..e30b613b93fdafafbbbda4e41c675b7a77891d62 100644 (file)
@@ -1457,7 +1457,6 @@ find_separate_debug_file (struct objfile *objfile)
          xfree (canon_name);
          xfree (basename);
          xfree (dir);
-         xfree (canon_name);
          return xstrdup (debugfile);
        }
     }