Received: from eggs.gnu.org ([140.186.70.92]:44673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb6Sd-00085z-PO for qemu-devel@nongnu.org; Thu, 15 Dec 2011 03:14:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rb6SZ-0004LY-RA for qemu-devel@nongnu.org; Thu, 15 Dec 2011 03:14:39 -0500 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:34027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb6SY-0004LR-JP for qemu-devel@nongnu.org; Thu, 15 Dec 2011 03:14:35 -0500 Date: Thu, 15 Dec 2011 16:14:29 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20111215081429.GA25506@cs.nctu.edu.tw> References: <4EE9AB5A.4080306@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4EE9AB5A.4080306@linux.vnet.ibm.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] some questions about g_malloc in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhi Hui Li Cc: Kevin Wolf , zhihuili@cn.ibm.com, QEMU-devel , Stefan Hajnoczi > I am not sure whether it is need to check the return of g_malloc in=20 > qemu ? I think not, that's why you use g_malloc as a wrapper. Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj