Message ID | CAMxuvazdE3VnxWaF0Z-T5BxExnC4uOnqwU9LiYvMsBSi6Tn85g@mail.gmail.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.web.codeaurora.org (Postfix) with ESMTP id 6D9C260383 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 14:36:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CCDB2237D for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 14:36:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E66028F38; Fri, 26 Jan 2018 14:36:48 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 C88E32237D for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 14:36:47 +0000 (UTC) Received: from localhost ([::1]:59168 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 1ef57X-0004FF-2w for patchwork-qemu-devel@patchwork.kernel.org; Fri, 26 Jan 2018 09:36:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mlureau@redhat.com>) id 1ef56p-0003rs-Kz for qemu-devel@nongnu.org; Fri, 26 Jan 2018 09:36:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mlureau@redhat.com>) id 1ef56m-0005BK-EE for qemu-devel@nongnu.org; Fri, 26 Jan 2018 09:36:03 -0500 Received: from mail-qt0-f175.google.com ([209.85.216.175]:42404) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <mlureau@redhat.com>) id 1ef56m-0005B7-B0 for qemu-devel@nongnu.org; Fri, 26 Jan 2018 09:36:00 -0500 Received: by mail-qt0-f175.google.com with SMTP id c2so1695561qtn.9 for <qemu-devel@nongnu.org>; Fri, 26 Jan 2018 06:36:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HryZjS9q0PUfEMv39axNl9iwcnsHJkbhXwx1yycxrC0=; b=T6w5E3D/SiH+ILmNXgt8UeUdaysH5LcY1uGcCyxtz2Lu7lkLkUugYZIxHtt2HvOHBc bjlkynD8QbY+a6ot5NY79P5jdQWHv8cfSd+YS7qCLdnJ0vKUJknv9okPlvkwUT0kMHGU gkYT7EIX3+a5H8emlMi6iXeJBcCxLYCM+rWC24QeLhYp0OeDey9fDFR2K6TgjasEjqwH gYi/U+9BhCyEK9KJu6ld7kJXqtoJZ+fkxkCjrG61fPpj45xX2Toka2PC5aULQxKAZWXo HSPD/+vAssTENoKo/yeEA5OFdbrh7/o2nzHBzZLJfwYm5Hwa9H1NEhR4WOzIwMH8kRSR DXBA== X-Gm-Message-State: AKwxytfOLsME9PEAW0qmBhqBJFVA+6H2wMdJH0ykJ1MDPfgNMLA7fQAP 6AboH1DUEISaQ9fNes2NLMM329EL4CJ5UmY+PCBm+wu0 X-Google-Smtp-Source: AH8x224wE4bsFPOWbdF9Xq11LtkO5YjzHwB+6Z5XGGRtXilY8IHAohDeAYEJGQ9bZt+gGBGbIrH/0L/M1wgecJHA7Tk= X-Received: by 10.233.239.205 with SMTP id d196mr20317396qkg.139.1516968564636; Fri, 26 Jan 2018 04:09:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.146.155 with HTTP; Fri, 26 Jan 2018 04:09:24 -0800 (PST) In-Reply-To: <20180126120306.19225-1-marcandre.lureau@redhat.com> References: <20180126120306.19225-1-marcandre.lureau@redhat.com> From: Marc-Andre Lureau <mlureau@redhat.com> Date: Fri, 26 Jan 2018 13:09:24 +0100 Message-ID: <CAMxuvazdE3VnxWaF0Z-T5BxExnC4uOnqwU9LiYvMsBSi6Tn85g@mail.gmail.com> To: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= <marcandre.lureau@redhat.com> Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.216.175 Subject: Re: [Qemu-devel] [PATCH v3] tpm: add CRB device 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: Eduardo Habkost <ehabkost@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Stefan Berger <stefanb@linux.vnet.ibm.com>, qemu-devel <qemu-devel@nongnu.org>, Markus Armbruster <armbru@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Marcel Apfelbaum <marcel@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Richard Henderson <rth@twiddle.net> 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 |
diff --git a/tests/tpm-crb-test.c b/tests/tpm-crb-test.c index de78a28844..8bf1507e00 100644 --- a/tests/tpm-crb-test.c +++ b/tests/tpm-crb-test.c @@ -81,6 +81,7 @@ static void *emu_tpm_thread(void *data) g_free(s->tpm_msg); s->tpm_msg = NULL; + object_unref(OBJECT(s->tpm_ioc)); return NULL; } @@ -180,6 +181,8 @@ static void *emu_ctrl_thread(void *data) } } + object_unref(OBJECT(ioc)); + object_unref(OBJECT(lioc)); return NULL; }