Message ID | 20180723201748.25573-57-mdroth@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4FBB0112E for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 Jul 2018 21:02:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FF7D284B3 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 Jul 2018 21:02:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3413E284C0; Mon, 23 Jul 2018 21:02:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CFF63284B3 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 Jul 2018 21:02:12 +0000 (UTC) Received: from localhost ([::1]:36604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1fhhy8-0005Mo-1j for patchwork-qemu-devel@patchwork.kernel.org; Mon, 23 Jul 2018 17:02:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhJp-000352-Df for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:20:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhJo-0004no-Lh for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:20:33 -0400 Received: from mail-oi0-x243.google.com ([2607:f8b0:4003:c06::243]:38991) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhJo-0004mx-GD; Mon, 23 Jul 2018 16:20:32 -0400 Received: by mail-oi0-x243.google.com with SMTP id d189-v6so3483148oib.6; Mon, 23 Jul 2018 13:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=pCq8sAqdtI4nyjBJlEXAu9mUe3sKLCYPjSfPiiWudy0=; b=A0Xqk0IrbyJzaGg0fGd+AkhbHb9fWO7YcJXKbJxtwQHJFptNynb4+zjpHmWrJroy2B 3iUCmE+hXISzOm89PbjS9wQDkJcV7Z0Y7T3z8BTvHthKcT35/fdjrwDrwE8gqbmZ2kNg e9CEPgaaUEgA+l6YfL4wgIEd03wn9bz7hWM7WvUHHmRbfX45xEDbZQ4bGVuUBA7dM/gu /8+zRhtGu7Va7rlAbWm2vwDo66fkRcEYRNfDA6Anc0AwLVegrL2uz9lHGLm8dK0A42Mx rD19cJRqLyx51HANOD17zIWRqQkA6OWt8qe/zPHEfKjprKXsvnHXtUnwEMq2AxZRcx1E gL1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=pCq8sAqdtI4nyjBJlEXAu9mUe3sKLCYPjSfPiiWudy0=; b=KMzHBpZ4Xnt3FIjDOAYM2lk4CpveJI0ng6oSsLw7kmWZHBcKbUhPG/Rl+LVnZrG3Ff lwzLurN+chLAyPL/4DoeO4m0xEFzIqojCwLYvZzz5OSaTMSdbYcWak6uVYlZM9CxxegQ dCJm7Z3atIdS+Tn3oW6fCwFt0516tX5HGasS1KN7a3t+tMWav/8nb3E316oJLdnrMpua xfmEdmbYl4PPUCDu2VYcqUNuhbQ7+xwrAMhYAKdp4iaQVNW3RDbQp7TzllK7TRPVB/ME YC8Y5eJiOd7xFS/c4KupxODkt/BVYCDrFtzX6ngYmtJ6/uBdYBUn8iTNa5Zfck4UL2go qiQg== X-Gm-Message-State: AOUpUlECc3EbrER+z5l5cHYkTWszRoPGaBdlFJGrN9wy9ymgktWoAHGw 8cmVQnD2+zi5FzLvwrROe3X191hgU8Y= X-Google-Smtp-Source: AAOMgpdi4mU0fmM5o49iehioSs5apWBNWtUkKJhAPK5/X4+tPNc7eKbWYPzSA7czDZpG5LEQO6PjcQ== X-Received: by 2002:aca:af11:: with SMTP id y17-v6mr291971oie.274.1532377231390; Mon, 23 Jul 2018 13:20:31 -0700 (PDT) Received: from localhost (76-251-165-188.lightspeed.austtx.sbcglobal.net. [76.251.165.188]) by smtp.gmail.com with ESMTPSA id v5-v6sm1201957oix.36.2018.07.23.13.20.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 13:20:30 -0700 (PDT) From: Michael Roth <mdroth@linux.vnet.ibm.com> To: qemu-devel@nongnu.org Date: Mon, 23 Jul 2018 15:17:05 -0500 Message-Id: <20180723201748.25573-57-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> References: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::243 Subject: [Qemu-devel] [PATCH 56/99] migration/block-dirty-bitmap: fix memory leak in dirty_bitmap_load_bits X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, qemu-stable@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Patch Round-up for stable 2.12.1, freeze on 2018-07-30
|
expand
|
diff --git a/migration/block-dirty-bitmap.c b/migration/block-dirty-bitmap.c index dd04f102d8..8819aabe3a 100644 --- a/migration/block-dirty-bitmap.c +++ b/migration/block-dirty-bitmap.c @@ -600,6 +600,7 @@ static int dirty_bitmap_load_bits(QEMUFile *f, DirtyBitmapLoadState *s) ret = qemu_get_buffer(f, buf, buf_size); if (ret != buf_size) { error_report("Failed to read bitmap bits"); + g_free(buf); return -EIO; }