Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1857591ybk; Thu, 21 May 2020 17:35:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3b0f0n0x5ctfQhbVc2Q3W9HDlTpRQj1Fd/vgyiCNJBzNz2Mq8Qwc4EMXpqNt0+g8ZF50T X-Received: by 2002:a17:906:fb15:: with SMTP id lz21mr5788993ejb.538.1590107749803; Thu, 21 May 2020 17:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590107749; cv=none; d=google.com; s=arc-20160816; b=do8CYa+Z9N39lkw/g93Pre6afR5MOVqxLYJ8t3GtNEvKrT5u1mmKbXLgo3z3B9seko Y/LnakJkERnFHhyYwqW112QS7IPxWyplwzVWKlM2HD7Xp++RbYuD+fNBC6smfp3zRkYV 77xAxW49BS1sF4kW5RI+cBHs7SKKU9MsHNpsC6O6IJCrekY5PJ5195Ottqh50ZMWN0Zz lQexP0ZxniZ677JcsvkQK5ZCxuSFdWjFyjIvRVaHykhJGtZEkVfUkfmjpqA+Apgf3dhO PPCIfE/TaMxuTmfRhf/8DPNKVao5DFGGtrOTQMuiOgLAUbEW9BTVFwcLzcUOTxgC23M0 ZipA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=97tj8aZk6nEOMLf46b5Vei7d1swia8ajJxZ20s/iF3E=; b=yfTMf+E6bidkcFsimHoDfjvSg42AezXma/oga2TklPimF+ZF42xMUHmQTtPD3r9vhI cRrA8/Eb47/07uXeWPvI0Mh+oCOir96IGP6uUwfngh/HiY1llSFzWfiulVionqlonuGC iBmWSY5IT0J2R2LSdEWCtfXvzCIaqyWNWlI+BMmTB46yeZFdrS03MXpTeZf4oYxsm9Qq FoPPkEX19P9n2vX8hpcxyd9RD3MiJo1ToCWiAMNFbRoqPbwSZ/aJygHxZ+m/YM2X5L56 t2wX0oi1V7KC+xPcY+/MkWfEtFASo1MuUIESdeew0t5l5bbQd4WvEWxMp0+OzDsbZirh kH0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si4122175ejr.529.2020.05.21.17.35.10; Thu, 21 May 2020 17:35:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726830AbgEVAfD (ORCPT + 99 others); Thu, 21 May 2020 20:35:03 -0400 Received: from mga14.intel.com ([192.55.52.115]:55682 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726785AbgEVAfD (ORCPT ); Thu, 21 May 2020 20:35:03 -0400 IronPort-SDR: 31rZvSn1NDFM3cpN/W7ip/y4Ztf073B9ipE+fzsomk8CGJi7FsAlD4BIyczAgZL6cPOX0oN5fT YxCY/WVFqxzw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 17:35:02 -0700 IronPort-SDR: VZ7SwImXXYFwK2FYGJM9ak5dDAjSbY+v73TOFz82ovK3clHsfMvoS2PPcEWZZPORzDlfPKaJS1 twNWTJJJsMiQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,419,1583222400"; d="scan'208";a="300961647" Received: from nsalivat-mobl.amr.corp.intel.com (HELO ingas-nuc1.sea.intel.com) ([10.254.98.52]) by orsmga008.jf.intel.com with ESMTP; 21 May 2020 17:35:02 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 00/10] Mesh code clean up Date: Thu, 21 May 2020 17:34:51 -0700 Message-Id: <20200522003501.106165-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 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 is contains a number of memory leak fixes and some stylistic changes that hopefully result in more compact and readable code. Inga Stotland (10): mesh: Remove unused structure member mesh: Free allocated agent in mesh_remove_agent() mesh: Remove agent when freeing node's dynamic resources mesh: Add finalization of a newly created node mesh: Remove unused function prototypes from node.h mesh: Create a queue of pending requests in mesh_init() mesh: Clean up Import() method call mesh: Clean up Attach() method call mesh: Fix memory leak in Create, Import & Attach methods mesh: Clean up Join() method mesh/agent.c | 10 ++-- mesh/mesh.c | 136 ++++++++++++++++++--------------------------------- mesh/node.c | 57 ++++++++++++--------- mesh/node.h | 7 ++- 4 files changed, 88 insertions(+), 122 deletions(-) -- 2.26.2