Message ID | 1509463985-8671-2-git-send-email-pkusunyifeng@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.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="DiM4T6UP"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yRNTt2FJmz9t3C for <incoming@patchwork.ozlabs.org>; Wed, 1 Nov 2017 07:38:26 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 8453BCDD; Tue, 31 Oct 2017 20:38:04 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 2FCDFCD9 for <dev@openvswitch.org>; Tue, 31 Oct 2017 20:38:03 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id E6F951A0 for <dev@openvswitch.org>; Tue, 31 Oct 2017 20:38:02 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id p9so202809pgc.8 for <dev@openvswitch.org>; Tue, 31 Oct 2017 13:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ciP5wCs7xmRsCShoIqBGsnYreHaluktZ5nSxgmIMBl4=; b=DiM4T6UPZlQc9nOkAbFJmATa2P9xBNGO+5xzmDggiv4dLvXtF+o1uUlb0rfiXOe8pp iLaFAfA2ihGhRZIftKkuj/sD0my0CcdwqFEO0GzPYO/sutsltBRJ97wnWH1gUt2nSzPM tL2/VzRXAFPPkW4NRr4w9J944pQDahftoabW/9l31UIS7iPhgI6ja1Gk8O2UMi04Dxwe 4udUQM/mGjpiecbWNZ9S/1ZXOAjAK6z88BrUwkChQRUO/yXEgZWnfkTqqLqJ64ru6Can YINAsdtMLfJFJVCHYU8mKcqU1qVtBCzRBqJk/IH77JHQ36Z8cvsMyNSlgzuRRPONjtD6 1jBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ciP5wCs7xmRsCShoIqBGsnYreHaluktZ5nSxgmIMBl4=; b=s7qIuoH0Hxq1Nx0JKSLWaCO4r8LLeRMZPNLBaFJEk5Q9/6Y5q8JF2YRKJj213Qybyz EiJ/ujRZhMZPREI76Agd5iIwHjEzxMojQvOG9h2/ptzmV64aEOmq9E4C5axm7JAzZKHP q2Jyys707b53hh/Yc2h6sZzJ2zCWkEKkeauiy8XNje/iAfpmBwW+PakV7to/KxvIHioY 0zkRNfZGmgwRVn8cqNzbzAkgGkf/tZ6KcchmBec73rrFKSAi8f09pWYSMm+41JITdKR5 QWo2Bp3ewXQ9A8WtES1+LaUENJUVA0uRLqe/0GIZAt3kHYNez9l/ao7Qq1+JhhGbUfuG TJ9A== X-Gm-Message-State: AMCzsaU0Uwlk2Hu90BbvHbsPAccBrwO8ZJKz1S3tHIaN5feiyNUFOZKU weLk8KF4rkJ9neVRn9SXlGv81qr/N/w= X-Google-Smtp-Source: ABhQp+RZFMoQLyjix5oY0U84S5rV6/svvfINbZdjT05Jptj0594/86uJ1xvJRdpBfYv33xM1U9P/QQ== X-Received: by 10.98.77.195 with SMTP id a186mr3390616pfb.292.1509482282417; Tue, 31 Oct 2017 13:38:02 -0700 (PDT) Received: from yfsovs.eng.vmware.com ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id w9sm4636064pfl.19.2017.10.31.13.38.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Oct 2017 13:38:02 -0700 (PDT) From: Yifeng Sun <pkusunyifeng@gmail.com> To: dev@openvswitch.org Date: Tue, 31 Oct 2017 08:33:04 -0700 Message-Id: <1509463985-8671-2-git-send-email-pkusunyifeng@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509463985-8671-1-git-send-email-pkusunyifeng@gmail.com> References: <1509463985-8671-1-git-send-email-pkusunyifeng@gmail.com> X-Spam-Status: No, score=1.5 required=5.0 tests=DATE_IN_PAST_03_06, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH 2/3] test-ovsdb: Fix memory leak X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: <ovs-dev.openvswitch.org> List-Unsubscribe: <https://mail.openvswitch.org/mailman/options/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://mail.openvswitch.org/pipermail/ovs-dev/> List-Post: <mailto:ovs-dev@openvswitch.org> List-Help: <mailto:ovs-dev-request@openvswitch.org?subject=help> List-Subscribe: <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org |
Series |
[ovs-dev,1/3] ovsdb-idl: Fix memory leak
|
expand
|
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c index 451172cdcc34..b5147fc055e3 100644 --- a/tests/test-ovsdb.c +++ b/tests/test-ovsdb.c @@ -582,6 +582,7 @@ do_parse_atom_strings(struct ovs_cmdl_context *ctx) ovsdb_atom_destroy(&atom, base.type); if (range_end_atom) { ovsdb_atom_destroy(range_end_atom, base.type); + free(range_end_atom); } } ovsdb_base_type_destroy(&base);
Reported by `make check-valgrind`. This patch was tested by `make check` and `make check-valgrind`. Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com> --- tests/test-ovsdb.c | 1 + 1 file changed, 1 insertion(+)