From: Fabio Erculiani <lxnay@sabayon.org>
To: qemu-devel@nongnu.org
Cc: Fabio Erculiani <lxnay@sabayon.org>, riku.voipio@iki.fi, agraf@suse.de
Subject: [Qemu-devel] [PATCH v2 2/2] linux-user: target_argv is placed on ts->bprm->argv and can't be freed()
Date: Tue, 3 Jan 2012 20:20:23 +0100 [thread overview]
Message-ID: <1325618423-1181-2-git-send-email-lxnay@sabayon.org> (raw)
In-Reply-To: <1325618423-1181-1-git-send-email-lxnay@sabayon.org>
---
linux-user/main.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 788ff98..513d583 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -3492,11 +3492,6 @@ int main(int argc, char **argv, char **envp)
_exit(1);
}
- for (i = 0; i < target_argc; i++) {
- free(target_argv[i]);
- }
- free(target_argv);
-
for (wrk = target_environ; *wrk; wrk++) {
free(*wrk);
}
--
1.7.7
next prev parent reply other threads:[~2012-01-03 19:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 19:20 [Qemu-devel] [PATCH v2 1/2] linux-user: improve fake /proc/self/stat making `ps` not segfault Fabio Erculiani
2012-01-03 19:20 ` Fabio Erculiani [this message]
2012-01-03 19:26 ` [Qemu-devel] [PATCH v2 2/2] linux-user: target_argv is placed on ts->bprm->argv and can't be freed() Alexander Graf
2012-01-03 19:26 ` [Qemu-devel] [PATCH v2 1/2] linux-user: improve fake /proc/self/stat making `ps` not segfault Alexander Graf
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=1325618423-1181-2-git-send-email-lxnay@sabayon.org \
--to=lxnay@sabayon.org \
--cc=agraf@suse.de \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/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;
as well as URLs for NNTP newsgroup(s).