Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754181AbbBFLvY (ORCPT ); Fri, 6 Feb 2015 06:51:24 -0500 Received: from mail.skyhub.de ([78.46.96.112]:60371 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753667AbbBFLvX (ORCPT ); Fri, 6 Feb 2015 06:51:23 -0500 Date: Fri, 6 Feb 2015 12:50:53 +0100 From: Borislav Petkov To: Alexey Khoroshilov Cc: Doug Thompson , Mauro Carvalho Chehab , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org Subject: Re: [PATCH] edac: fix memory leaks on failure path in edac_init() Message-ID: <20150206115053.GC3220@pd.tnic> References: <1423203162-26368-1-git-send-email-khoroshilov@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1423203162-26368-1-git-send-email-khoroshilov@ispras.ru> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 630 Lines: 20 On Thu, Feb 05, 2015 at 10:12:42PM -0800, Alexey Khoroshilov wrote: > edac_init() does not deallocate already allocated resources on failure path. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Thanks, queued for 3.21. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/