This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);
 	}
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]