Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCH 1/3] sdptool: Fix memory leaks creating OPP record Date: Mon, 25 Nov 2013 15:14:43 +0200 Message-Id: <1385385285-30592-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko --- tools/sdptool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/sdptool.c b/tools/sdptool.c index f985b1e..78dc281 100644 --- a/tools/sdptool.c +++ b/tools/sdptool.c @@ -1813,7 +1813,10 @@ end: sdp_list_free(proto[1], 0); sdp_list_free(proto[2], 0); sdp_list_free(apseq, 0); + sdp_list_free(pfseq, 0); sdp_list_free(aproto, 0); + sdp_list_free(root, 0); + sdp_list_free(svclass_id, NULL); return ret; } -- 1.8.3.2