From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGE1Y-0005tX-7E for qemu-devel@nongnu.org; Mon, 24 Sep 2012 15:08:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGE1X-0003s3-0X for qemu-devel@nongnu.org; Mon, 24 Sep 2012 15:08:56 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:38101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGE1W-0003rh-QR for qemu-devel@nongnu.org; Mon, 24 Sep 2012 15:08:54 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 2CF1F7280039 for ; Mon, 24 Sep 2012 21:08:53 +0200 (CEST) Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ds4UVxHRLQl3 for ; Mon, 24 Sep 2012 21:08:52 +0200 (CEST) From: Stefan Weil Date: Mon, 24 Sep 2012 21:08:47 +0200 Message-Id: <1348513730-7485-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 0/3] Fix some memory leaks caused by qemu_allocate_irqs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org There are several memory leaks in QEMU which are caused by calling qemu_allocate_irqs. Some of these leaks are fixed here in the 2nd and 3rd patch. More can be fixed using the same pattern. The first patch adds a new function which avoids unnecessary memory allocation. [PATCH 1/3] irq: Add new function qemu_init_irqs [PATCH 2/3] hw/arm_timer: Fix memory leak (detected by Valgrind) [PATCH 3/3] hw/spitz: Fix memory leaks (detected by Valgrind) Regards Stefan Weil