From patchwork Tue Sep 23 04:20:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Renu Tyagi X-Patchwork-Id: 4952841 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B7DAC9F2BB for ; Tue, 23 Sep 2014 04:21:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0288820131 for ; Tue, 23 Sep 2014 04:21:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id CA158200D5 for ; Tue, 23 Sep 2014 04:21:23 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id E6814261AFC; Tue, 23 Sep 2014 06:21:22 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 10B9C261B35; Tue, 23 Sep 2014 06:21:01 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5779E261B20; Tue, 23 Sep 2014 06:20:59 +0200 (CEST) Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by alsa0.perex.cz (Postfix) with ESMTP id 57D08261B35 for ; Tue, 23 Sep 2014 06:20:37 +0200 (CEST) Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NCC00KHR6QBGG60@mailout1.samsung.com> for alsa-devel@alsa-project.org; Tue, 23 Sep 2014 13:20:35 +0900 (KST) Received: from epcpsbgx4.samsung.com ( [172.20.52.125]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id E6.26.18484.215F0245; Tue, 23 Sep 2014 13:20:35 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-57-5420f512986b Received: from epmailer01 ( [203.254.219.141]) by epcpsbgx4.samsung.com (EPCPMTA) with SMTP id C4.57.16067.215F0245; Tue, 23 Sep 2014 13:20:34 +0900 (KST) Date: Tue, 23 Sep 2014 04:20:34 +0000 (GMT) From: Renu Tyagi To: "alsa-devel@alsa-project.org" MIME-version: 1.0 X-MTR: 20140923041953099@renu.tyagi Msgkey: 20140923041953099@renu.tyagi X-EPLocale: en_US.windows-1252 X-Priority: 3 X-EPWebmail-Msg-Type: personal X-EPWebmail-Reply-Demand: 0 X-EPApproval-Locale: X-EPHeader: ML X-MLAttribute: X-RootMTR: 20140919102227276@renu.tyagi X-ParentMTR: 20140919102227276@renu.tyagi X-ArchiveUser: X-CPGSPASS: N X-ConfirmMail: N,general MIME-version: 1.0 Message-id: <22469549.61261411446034864.JavaMail.weblogic@epv6ml10> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrCIsWRmVeSWpSXmKPExsWyRsSkVlf4q0KIwYUmZosrFw8xOTB6bPjc xBbAGMVlk5Kak1mWWqRvl8CVsfj0AtaCbewVexeeZ21gnMHexcjJISSgKrHg2jJGEFtCwERi 5YuNULaYxIV769m6GLmAapYySqw59p0dpmjy4z52iMQcRolzMzaCJViAJk3f8ZgNxGYT0JLY 09nDBGILC7hKvDp9HMwWEbCXeH9+NVgNs4CyxPruvcxdjBxAgxQkdt8zAwnzCghKnJz5hAVi l7LE3LlvWCHiKhJv7p1ig4jLSSyZepkJwuaVmNH+lAUmPu3rGmYIW1ri/KwNcM8s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20DiyKI5rKhe4QCynSWmbUyYwCg7C0lmFpLu WUi6kdUsYGRZxSiaWpBcUJyUXmGiV5yYW1yal66XnJ+7iRGchJ4t2cHYcMH6EKMAB6MSD6/H GoUQIdbEsuLK3EOMEhzMSiK8JROBQrwpiZVVqUX58UWlOanFhxhNgVE2kVlKNDkfmCDzSuIN jU3MTY1NLQwMzc3NlMR5F9xKChISSE8sSc1OTS1ILYLpY+LglGpgbFvWP+9+hlJd6Jy7pzO4 NqUFP3kkvPNmn/n63vzj9gECeya8XbNdWCGt1i48IGchp6l+6LQNvmfjfQ52vN+T3J7OefZt zemKvH6Wb0eXTTe/zju9PbZ5Z7ZqwRTx3qMST/KmPWCYPfVWYDH/6729fIWei9K3uUxfr933 R1FuX3/usclBX/uWKbEUZyQaajEXFScCAHCEJQVYAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected Cc: "tiwai@suse.de" Subject: Re: [alsa-devel] [PATCH v2 03/11] sbase : fixed missing free X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: renu.tyagi@samsung.com List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: renu tyagi --- modules/mixer/simple/sbase.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- 1.7.1 diff --git a/modules/mixer/simple/sbase.c b/modules/mixer/simple/sbase.c index 97feee8..bb2f59d 100644 --- a/modules/mixer/simple/sbase.c +++ b/modules/mixer/simple/sbase.c @@ -377,6 +377,7 @@ static int simple_event_add1(snd_mixer_class_t *class, if (ctype != SND_CTL_ELEM_TYPE_BOOLEAN) { __invalid_type: snd_mixer_selem_id_free(id); + free(hsimple); return -EINVAL; } break;