From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B512C432C0 for ; Tue, 3 Dec 2019 21:04:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 622BB20661 for ; Tue, 3 Dec 2019 21:04:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727667AbfLCVEV (ORCPT ); Tue, 3 Dec 2019 16:04:21 -0500 Received: from mga18.intel.com ([134.134.136.126]:1961 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbfLCVEU (ORCPT ); Tue, 3 Dec 2019 16:04:20 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2019 13:04:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,274,1571727600"; d="scan'208";a="208575153" Received: from bgi1-mobl2.amr.corp.intel.com ([10.254.44.42]) by fmsmga008.fm.intel.com with ESMTP; 03 Dec 2019 13:04:19 -0800 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, inga.stotland@intel.com, prathyusha.n@samsung.com Subject: [PATCH BlueZ v2 0/3] mesh: Fix various valgrind identified problems Date: Tue, 3 Dec 2019 13:04:07 -0800 Message-Id: <20191203210410.25548-1-brian.gix@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patchset addresses a few valgrind identified errors, including some instances where memory was used after freeing. All three patches relate to the memory allocated for Provisioning purposes. This includes the patch from Prathyusha that fixes close indication. Brian Gix (2): mesh: Rearrange PB-ACK for possible session close mesh: Fix memory leak in Join() API call Prathyusha N (1): mesh: Fix to send close indication on timeout mesh/mesh.c | 7 +++++-- mesh/net.c | 1 - mesh/pb-adv.c | 10 ++++------ mesh/prov-acceptor.c | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) -- 2.21.0