All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Kosina <jikos@kernel.org>
To: Peilin Ye <yepeilin.cs@gmail.com>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	Phong Tran <tranmanphong@gmail.com>,
	Jason Gerecke <killertofu@gmail.com>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] HID: wacom: Fix memory leak in wacom_probe()
Date: Thu, 14 Jan 2021 13:21:13 +0100 (CET)	[thread overview]
Message-ID: <nycvar.YFH.7.76.2101141320210.13752@cbobk.fhfr.pm> (raw)
In-Reply-To: <20201210112258.477636-1-yepeilin.cs@gmail.com>

On Thu, 10 Dec 2020, Peilin Ye wrote:

> wacom_probe() is leaking memory. Free `&wacom_wac->pen_fifo` when
> hid_parse() or wacom_parse_and_register() fails.

Thanks for the patch. It's however already been fixed in 
hid.git#for-5.11/upstream-fixes (37309f47e2f5) branch that will be going 
to Linus shortly.

-- 
Jiri Kosina
SUSE Labs


  reply	other threads:[~2021-01-14 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 11:22 [PATCH] HID: wacom: Fix memory leak in wacom_probe() Peilin Ye
2021-01-14 12:21 ` Jiri Kosina [this message]
2021-01-14 12:57   ` Peilin Ye

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=nycvar.YFH.7.76.2101141320210.13752@cbobk.fhfr.pm \
    --to=jikos@kernel.org \
    --cc=benjamin.tissoires@redhat.com \
    --cc=killertofu@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tranmanphong@gmail.com \
    --cc=yepeilin.cs@gmail.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.