Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [obv] Remove double free of canon_name
@ 2009-08-15  0:04 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-08-15  0:04 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-14 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-15  0:04 [obv] Remove double free of canon_name Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox