[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF+7xW=PBGNbDRGmWyJR=e1OaxN4C85hTywKiyytB3pq6ST8cA@mail.gmail.com>
Date: Tue, 18 Sep 2012 08:58:22 +0800
From: Axel Lin <axel.lin@...il.com>
To: Andreas Pretzsch <apr@...eng.de>
Cc: Samuel Ortiz <sameo@...ux.intel.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: Use devm_* APIs for mc13xxx: remove leftover kfree
2012/9/18 Andreas Pretzsch <apr@...eng.de>:
> commit e7c706b1e5ccf28eaaf76c7a4613e80b0ca52863 migrated the allocation
> of struct mc13xxx to devm_* functions, but left a kfree(mc13xxx) in the
> mc13xxx_common_init error path. Remove it to prevent memory corruption.
>
> Signed-off-by: Andreas Pretzsch <apr@...eng.de>
Reviewed-by: Axel Lin <axel.lin@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists