From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEEXq-0008B5-8f for qemu-devel@nongnu.org; Mon, 04 Aug 2014 05:27:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEEXj-00034R-PH for qemu-devel@nongnu.org; Mon, 04 Aug 2014 05:27:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEEXj-00034D-IT for qemu-devel@nongnu.org; Mon, 04 Aug 2014 05:26:59 -0400 Date: Mon, 4 Aug 2014 14:56:30 +0530 From: Amit Shah Message-ID: <20140804092630.GM18947@grmbl.mre> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PULL] virtio-rng: fix memleak, use error_setg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: John Snow , qemu list Hi, This patchset fixes a memleak in virtio-rng init and moves from error_set to error_setg. Please pull. The following changes since commit c79805802ba0463713c253307d99ebef56436b8c: Open 2.2 development tree (2014-08-01 18:30:08 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/virt/qemu/amit/virtio-rng.git for-2.2 for you to fetch changes up to c617dd3b7e8e82511060b8f7a9c51e46c5c1e87a: virtio-rng: replace error_set calls with error_setg (2014-08-04 14:50:11 +0530) ---------------------------------------------------------------- John Snow (2): virtio-rng: Move error-checking forward to prevent memory leak virtio-rng: replace error_set calls with error_setg hw/virtio/virtio-rng.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) Amit