Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [obv] Remove double free of canon_name
Date: Sat, 15 Aug 2009 00:04:00 -0000	[thread overview]
Message-ID: <20090814233654.811FD8469B@localhost> (raw)

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


                 reply	other threads:[~2009-08-14 23:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090814233654.811FD8469B@localhost \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox