Message ID | 1516112253-14480-19-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oSdxaXFf"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zLY411XTlz9s7v for <incoming@patchwork.ozlabs.org>; Wed, 17 Jan 2018 01:48:01 +1100 (AEDT) Received: from localhost ([::1]:39398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1ebSWt-0001sz-7G for incoming@patchwork.ozlabs.org; Tue, 16 Jan 2018 09:47:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1ebS42-00030X-Cp for qemu-devel@nongnu.org; Tue, 16 Jan 2018 09:18:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1ebS3w-0004c2-HG for qemu-devel@nongnu.org; Tue, 16 Jan 2018 09:18:10 -0500 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:43646) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1ebS3w-0004bN-Ag for qemu-devel@nongnu.org; Tue, 16 Jan 2018 09:18:04 -0500 Received: by mail-wr0-x241.google.com with SMTP id t16so1685439wrc.10 for <qemu-devel@nongnu.org>; Tue, 16 Jan 2018 06:18:04 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=Rz4SJ9g5edYJJhxBRiJ+nXbAHi2H1DsaGTsAjHPPY5g=; b=oSdxaXFfh8QQs1FheuhQpU7Jyfuc5Q5HQDBymj0P1hwwHYCfSoCKvKWhzdVBu1SZ7M /SxtI8n7kU9G3pvgH0rs7SDM79/pOLv3EpBapq0+cMAVzRUpB19M597ycFv+7DiW5iuN ehX30QfhiR+7F5riTifp066WS+gnzKr8b4bXf3Dx2KIhB4t1nhhdxsWMAcV0Ixf/1LnE yTCTQvyAXpYllANWc3QgG5COP9/kqaLJFQboKGlOd01lhxkGmYb4ZeoF30Z8nBMICASM A6HRu9wYKY0PtEZ3ZhK8jwNT7Lo1dmGAgJu22GsJlt9RgNBf3gQJlRxdtRa8nXnS7mJh RAxA== 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:mime-version:content-transfer-encoding; bh=Rz4SJ9g5edYJJhxBRiJ+nXbAHi2H1DsaGTsAjHPPY5g=; b=hnl1riZIslorGbvVn1T1+zC9IGwdE87+FO+lVG/rTZx8mDp4VjBOV4NSgpUiYerW3K KwOu3iE4jsql12QmHjVikEpZthV3gUOYNKiBuJbOVueO2tNxInDJD4MW32ONNak56nbb sVj4S7X3aXWCM4MKDtKEEYCe6VDQK2OekOSNm3ie05wqOQtLLwnEGcXtOFPOWb2fOwIM fQQFtzJeKdevDjFir3R54sAv1U+VJHyAEKjTtVs0hIxKfBSsIHrQKJf7rmMxXp/YuKch JTW1pL9wf6DOJ98Em9UumRJ05IFokbL2DxHeQ1dv1Y8gjsl4nBnYKBlH0SS8Lbr6scEo 0kxw== X-Gm-Message-State: AKwxytci3yhymEtiRsohX0E0oXHWCegtMYIH70Ziy4BqZvT8B5y8gWz3 BrsHd9/V/4OviqzaXvhzzSpz8ILW X-Google-Smtp-Source: ACJfBov11pvpdz3fv6lQGcgjR6ggMdI/uIXaUJEj9Ilcq7VYu6WJX09jgEuSLTv0fyXRpGexB2Om4g== X-Received: by 10.223.160.55 with SMTP id k52mr19315853wrk.5.1516112283021; Tue, 16 Jan 2018 06:18:03 -0800 (PST) Received: from 640k.lan (dynamic-adsl-78-12-229-84.clienti.tiscali.it. [78.12.229.84]) by smtp.gmail.com with ESMTPSA id u10sm1537758wrg.6.2018.01.16.06.18.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 06:18:01 -0800 (PST) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Tue, 16 Jan 2018 15:17:00 +0100 Message-Id: <1516112253-14480-19-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1516112253-14480-1-git-send-email-pbonzini@redhat.com> References: <1516112253-14480-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PULL 18/51] tests: fix migration-test leak 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: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/51] scsi-generic: Add share-rw option
|
expand
|
diff --git a/tests/migration-test.c b/tests/migration-test.c index be598d3..799e24e 100644 --- a/tests/migration-test.c +++ b/tests/migration-test.c @@ -358,13 +358,14 @@ static void migrate_check_parameter(QTestState *who, const char *parameter, const char *value) { QDict *rsp, *rsp_return; - const char *result; + char *result; rsp = wait_command(who, "{ 'execute': 'query-migrate-parameters' }"); rsp_return = qdict_get_qdict(rsp, "return"); result = g_strdup_printf("%" PRId64, qdict_get_try_int(rsp_return, parameter, -1)); g_assert_cmpstr(result, ==, value); + g_free(result); QDECREF(rsp); }