All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gan Qixin <ganqixin@huawei.com>
To: <qemu-devel@nongnu.org>, <qemu-trivial@nongnu.org>
Cc: peter.maydell@linaro.org, Gan Qixin <ganqixin@huawei.com>,
	zhang.zhanghailiang@huawei.com, kuhn.chenqun@huawei.com,
	david@gibson.dropbear.id.au
Subject: [PATCH v3 0/2] Fix some memleaks caused by timer_new_ns
Date: Tue, 12 Jan 2021 19:27:03 +0800	[thread overview]
Message-ID: <20210112112705.380534-1-ganqixin@huawei.com> (raw)

v2->v3:

Changes suggested by Peter Maydell:
  timer_free() already contains timer_del()(commit 5f8e93c3e262ab),
so delete unnecessary timer_del() function.


v1->v2:

patch1:
  Delete the modification of unrelated whitespace.
patch2:
  Add David Gibson acked tag.
patch3:
  Has been applied, so delete it.


Gan Qixin (2):
  pl031: Use timer_free() in the finalize function to avoid memleaks
  misc/mos6522: Use timer_free() in the finalize function to avoid
    memleak

 hw/misc/mos6522.c | 9 +++++++++
 hw/rtc/pl031.c    | 8 ++++++++
 2 files changed, 17 insertions(+)

-- 
2.27.0



             reply	other threads:[~2021-01-12 11:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 11:27 Gan Qixin [this message]
2021-01-12 11:27 ` [PATCH v3 1/2] pl031: Use timer_free() in the finalize function to avoid memleaks Gan Qixin
2021-01-12 16:42   ` Peter Maydell
2021-01-12 19:59   ` Laurent Vivier
2021-01-12 11:27 ` [PATCH v3 2/2] misc/mos6522: Use timer_free() in the finalize function to avoid memleak Gan Qixin
2021-01-12 12:17   ` Philippe Mathieu-Daudé
2021-01-12 16:42   ` Peter Maydell
2021-01-12 20:00   ` Laurent Vivier

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=20210112112705.380534-1-ganqixin@huawei.com \
    --to=ganqixin@huawei.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=kuhn.chenqun@huawei.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=zhang.zhanghailiang@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.