Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kprX3-0002T4-IY for mharc-qemu-trivial@gnu.org; Thu, 17 Dec 2020 06:33:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kprX0-0002Pd-TX; Thu, 17 Dec 2020 06:33:14 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:2895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kprWy-0005fr-Cx; Thu, 17 Dec 2020 06:33:14 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CxVG70Xnnz15f8P; Thu, 17 Dec 2020 19:32:15 +0800 (CST) Received: from huawei.com (10.175.104.175) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Thu, 17 Dec 2020 19:32:46 +0800 From: Gan Qixin To: , CC: , , , , , , , , Gan Qixin Subject: [PATCH v2 0/7] Fix some memleaks caused by ptimer_init Date: Thu, 17 Dec 2020 19:31:37 +0800 Message-ID: <20201217113137.121607-1-ganqixin@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.104.175] X-CFilter-Loop: Reflected Received-SPF: pass client-ip=45.249.212.190; envelope-from=ganqixin@huawei.com; helo=szxga04-in.huawei.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 11:33:15 -0000 v1->v2: Changes suggested by Peter Maydell: Delete the modification of unrelated whitespace. Gan Qixin (7): allwinner-a10-pit: Use ptimer_free() in the finalize function to avoid memleaks digic-timer: Use ptimer_free() in the finalize function to avoid memleaks exynos4210_mct: Use ptimer_free() in the finalize function to avoid memleaks exynos4210_pwm: Use ptimer_free() in the finalize function to avoid memleaks exynos4210_rtc: Use ptimer_free() in the finalize function to avoid memleaks mss-timer: Use ptimer_free() in the finalize function to avoid memleaks musicpal: Use ptimer_free() in the finalize function to avoid memleaks hw/arm/musicpal.c | 12 ++++++++++++ hw/rtc/exynos4210_rtc.c | 9 +++++++++ hw/timer/allwinner-a10-pit.c | 11 +++++++++++ hw/timer/digic-timer.c | 8 ++++++++ hw/timer/exynos4210_mct.c | 14 ++++++++++++++ hw/timer/exynos4210_pwm.c | 11 +++++++++++ hw/timer/mss-timer.c | 13 +++++++++++++ 7 files changed, 78 insertions(+) -- 2.23.0