Re: [PATCH 3/3] dmatest: prevent memory leakage on error path in thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 29, 2014 at 1:17 AM, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> On Tue, 2014-04-15 at 16:10 +0300, Andy Shevchenko wrote:
>> When we fail to allocate memory for thread->srcs or thread->dsts and src_cnt or
>> dst_cnt great than 1 we leak memory on error path. This patch fixes the issue.
>> As a side effect we allocate the exact number of soruce and destination
>> buffers.
>
> Dan, ping?
>

Hi Andy,

Can you drop the cleanups out of this fix patch.  I'm inclined to
leave them as long as checkpatch does not wine about them, otherwise a
separate cleanup patch is preferred.

--
Dan
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux