Message ID | 1509463985-8671-1-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="eyjpJN6S"; 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 3yRNTL1PWlz9t3C for <incoming@patchwork.ozlabs.org>; Wed, 1 Nov 2017 07:37:58 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 86441BCA; Tue, 31 Oct 2017 20:37:56 +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 D9B7FACB for <dev@openvswitch.org>; Tue, 31 Oct 2017 20:37:54 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 953751A0 for <dev@openvswitch.org>; Tue, 31 Oct 2017 20:37:54 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id n14so180423pfh.8 for <dev@openvswitch.org>; Tue, 31 Oct 2017 13:37:54 -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; bh=Bw1Uqj9e8s73/7pu8+5DRietzGTsJ41sq/MLWM+NQlU=; b=eyjpJN6SaFfES0ZRiXovDoptfLRv1h2yByNUq7Xq9kruvnC3tLdyya/esOG71441Xh wS5e4JsAbZmo1e3OOyRj/kKgg/insx8cdUlpQQTSClJj46UkVqZHiMBP/v4UFrG4UeUh XTaOUtMW02NJG+Dz6FN5uGr4xYcKj3Z+5MQllMnI6NEs1H0mc/DiVrM2BfXJnM5Ffgi3 Ih+gG2p33swomq5dcWQc/0OuzRv+/StnOC3DaJoW2q7xtSl+o/gGqcm2wU/9BFsorwvI GR14qhyTAdmI8G4qsRVyFjbwJDqXeyF8typbCfNWNByyUDskkmOQwsbkkZXmWX5xy8M6 hWIg== 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; bh=Bw1Uqj9e8s73/7pu8+5DRietzGTsJ41sq/MLWM+NQlU=; b=O+Flcx/v7WLpPSQbg54HIDR5R81qAlVUVt/3r73wVVdqZXlsdGLuX+cQrGJNVuNbSv n1ULy8I3joHiDhJWO+Snv7WWeSv6H6bkBQwecAwv+QPMbzp11kPtM2a6hGcQJYetAGVN ACql72FXtJDvbPWFN15isOkohHX5Bo5w223ovKkCzsz03U7t2RTsaqe9F6IulvqPl/5w /tQdLBmZBwlGLNwfu3Ohji6yB8JarSM5q+x6dkOdvCEMODuEbKB8zWyFKTj2toT6DWLQ YaY4dy3EdK+SRmn3PYBWrZtkU3LZQvpIg+N8ojhNl4hmTtouqBwKlgsEEvRuZEslhyYx VRtw== X-Gm-Message-State: AMCzsaWxrj1cWwIqD2fX+aGvpjYRwuJzR+NWi6SjtmPSNzO8tw2RDv1j xTIWOdyFIWHEHB4FCg45isXINw== X-Google-Smtp-Source: ABhQp+QNe3E/crQLjk6jCM9X++wBK1EawSx47mC0G2B5a7uBrpmrn8eR1VKcnVFqyh0YF+FgMU1+cg== X-Received: by 10.101.91.193 with SMTP id o1mr2999535pgr.75.1509482274028; Tue, 31 Oct 2017 13:37:54 -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.37.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Oct 2017 13:37:53 -0700 (PDT) From: Yifeng Sun <pkusunyifeng@gmail.com> To: dev@openvswitch.org Date: Tue, 31 Oct 2017 08:33:03 -0700 Message-Id: <1509463985-8671-1-git-send-email-pkusunyifeng@gmail.com> X-Mailer: git-send-email 2.7.4 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 1/3] ovsdb-idl: 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/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 5617e08d633c..be29c92957c0 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -2163,6 +2163,7 @@ ovsdb_idl_destroy_indexes(struct ovsdb_idl_table *table) skiplist_destroy(index->skiplist, NULL); free(index->columns); } + shash_destroy_free_data(&table->indexes); } static void
Reported by `make check-valgrind`. This patch was tested by `make check` and `make check-valgrind`. Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com> --- lib/ovsdb-idl.c | 1 + 1 file changed, 1 insertion(+)