Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437754

Re: [patch] drm/tegra: sor: Double free on error

From Alexandre Courbot <gnurou@gmail.com>
Newsgroups linux.kernel
Subject Re: [patch] drm/tegra: sor: Double free on error
Date 2016-07-06 16:20 +0200
Message-ID <rRVQd-1PF-3@gated-at.bofh.it> (permalink)
References <rR6NH-2Pw-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 4, 2016 at 4:45 PM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> "brick" is allocated with devm_kzalloc() so freeing it with kfree()
> leads to a double free.  We can just delete it.

That makes perfect sense.

Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[patch] drm/tegra: sor: Double free on error Dan Carpenter <dan.carpenter@oracle.com> - 2016-07-04 09:50 +0200
  Re: [patch] drm/tegra: sor: Double free on error Alexandre Courbot <gnurou@gmail.com> - 2016-07-06 16:20 +0200

csiph-web