This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Remove double free of canon_name
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Fri, 14 Aug 2009 16:36:54 -0700 (PDT)
- Subject: [obv] Remove double free of canon_name
Hi.
Checked in as obvious.
2009-08-14 Doug Evans <dje@google.com>
* symfile.c (find_separate_debug_file): Remove double free of
canon_name.
Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.241
diff -u -p -r1.241 symfile.c
--- symfile.c 10 Aug 2009 22:09:22 -0000 1.241
+++ symfile.c 14 Aug 2009 23:34:55 -0000
@@ -1457,7 +1457,6 @@ find_separate_debug_file (struct objfile
xfree (canon_name);
xfree (basename);
xfree (dir);
- xfree (canon_name);
return xstrdup (debugfile);
}
}