Message ID | 1552323335-46779-5-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=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UGTwFJc1"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44J4N65Gx4z9s4V for <incoming@patchwork.ozlabs.org>; Tue, 12 Mar 2019 04:09:42 +1100 (AEDT) Received: from localhost ([127.0.0.1]:36994 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 1h3OQm-0000qg-FK for incoming@patchwork.ozlabs.org; Mon, 11 Mar 2019 13:09:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1h3ODJ-0006mi-7W for qemu-devel@nongnu.org; Mon, 11 Mar 2019 12:55:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1h3ODI-0002pu-Gg for qemu-devel@nongnu.org; Mon, 11 Mar 2019 12:55:45 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:40368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1h3ODI-0002pD-7R for qemu-devel@nongnu.org; Mon, 11 Mar 2019 12:55:44 -0400 Received: by mail-wr1-x436.google.com with SMTP id t6so5931326wrw.7 for <qemu-devel@nongnu.org>; Mon, 11 Mar 2019 09:55:44 -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 :mime-version:content-transfer-encoding; bh=UYfR+EBQv+wIrOV/ZnJBemqrNRF1eWItvm/B3GDCrfU=; b=UGTwFJc1UNWc4IqrpjdR3YqWx4E72iCEZuYSuhAzKhF/ukIO0ujI8Bx63yaxEtJbA1 RjSWE4aaL4G5o4BMubXHvIQUgSVHRJ0tQ1LTM3/CGcejRrASGB4uIMJomDLfXxCNGPNA 509G88E0ygt9a0iB+cbfWu/kn4rMu3S5xyy1sjlLVzqbb56aqimGxMnPHkAZhYyb8Uyu huDy8GzKCN60YEaPjDApluhH2tVVBBZ2qtDtNYEhb3hAlamE3QNMi4soVMbcgm+c0maL D6BZ6U2bPoPxMplMqsA6Iuvsfnu7ZGmtmdBD6APpqwAamwTtc/1b8a4qAyn/ROqkYDfH +Gdg== 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=UYfR+EBQv+wIrOV/ZnJBemqrNRF1eWItvm/B3GDCrfU=; b=OgU7tVyg5rQJEQKhMKcbltUoOJZpc3eG1fUq3PZVq+JUTpJo6L1FrS3FeCwNkPhG3r qxiGYelNT9b90Jk3ZjfbJ4kwHXVNW5/Igg5kCWgzRmnAmKxYeG29TsQzXm1YrTQzwYce Yhd09xE2jiQWsYsDTNT0tjgH3an3vDLNYD7LrHRkiNWmuD5dwsqsYfY6JVbme35tc4rO TShveAHKGXL/CgFuU8UKrVM7KmzPqLygb+FjmPerQN/DBLm1nzuwVwGK5y3EVo6hp+PB MBi7k8dVAtjKm2/fPBkosKQcCq4MbdQmKyHXKLnheA1WG+NOE4Q28+s0LG6MsXcVKcHk me3g== X-Gm-Message-State: APjAAAXtQlLv0CWaAvGEsZS3iKR7in7G3B/C1v8YZd2eb5TG728whP9S qs7AF3s7BkO+EN2fG9ftfihngGES X-Google-Smtp-Source: APXvYqxgGF9ZwBMY9gkRq/CWoUjgl9ZLpkkYg7bT2RSdgJAfZnOVb/R0YdW0nV+6oDL3aCPsT1MIAg== X-Received: by 2002:adf:f78e:: with SMTP id q14mr23033363wrp.227.1552323342961; Mon, 11 Mar 2019 09:55:42 -0700 (PDT) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id e12sm6484836wrs.91.2019.03.11.09.55.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 09:55:41 -0700 (PDT) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Mon, 11 Mar 2019 17:55:08 +0100 Message-Id: <1552323335-46779-5-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1552323335-46779-1-git-send-email-pbonzini@redhat.com> References: <1552323335-46779-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:4864:20::436 Subject: [Qemu-devel] [PULL v2 04/31] tests: test-qgraph: fix a memory 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: Li Qiang <liq3ea@163.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,v2,01/31] memory: Do not update coalesced IO range in the case of NOP
|
expand
|
diff --git a/tests/test-qgraph.c b/tests/test-qgraph.c index f6a6565..5c7e457 100644 --- a/tests/test-qgraph.c +++ b/tests/test-qgraph.c @@ -122,7 +122,7 @@ static void check_driver(const char *driver) static void check_test(const char *test, const char *interface) { QOSGraphEdge *edge; - const char *full_name = g_strdup_printf("%s-tests/%s", interface, test); + char *full_name = g_strdup_printf("%s-tests/%s", interface, test); qos_add_test(test, interface, testfunct, NULL); g_assert_cmpint(qos_graph_has_machine(test), ==, FALSE); @@ -138,6 +138,7 @@ static void check_test(const char *test, const char *interface) g_assert_cmpint(qos_graph_get_node_availability(full_name), ==, TRUE); qos_graph_node_set_availability(full_name, FALSE); g_assert_cmpint(qos_graph_get_node_availability(full_name), ==, FALSE); + g_free(full_name); } static void count_each_test(QOSGraphNode *path, int len)