Return-Path: Date: Mon, 08 Feb 2016 15:02:34 +0000 (GMT) From: SYAM SIDHARDHAN Subject: Re: [PATCH 1/1] adapter: Fix memory leak To: "linux-bluetooth@vger.kernel.org" Cc: "syamsidhardh@gmail.com" Reply-to: s.syam@samsung.com MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 MIME-version: 1.0 Message-id: <523397950.738031454943754387.JavaMail.weblogic@epmlwas06a> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: DQpIaSwNCi0tLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLS0tDQpTZW5kZXIgOiBTWUFNIFNJ REhBUkRIQU48cy5zeWFtQHNhbXN1bmcuY29tPiAuL1NlbmlvciBDaGllZiBFbmdpbmVlci9TUkkt QmFuZ2Fsb3JlLVN5c3RlbSAmIENvbm5lY3Rpdml0eS9TYW1zdW5nIEVsZWN0cm9uaWNzDQpEYXRl IDogRmViIDAzLCAyMDE2IDIwOjI4IChHTVQrMDU6MzApDQpUaXRsZSA6IFtQQVRDSCAxLzFdIGFk YXB0ZXI6IEZpeCBtZW1vcnkgbGVhaw0KDQppZiBzdHJsZW4oc3RyKSA8IDMyIHRoZW4gdGhlcmUg aXMgYSBtZW1vcnkgbGVhay4NCi0tLQ0Kc3JjL2FkYXB0ZXIuYyB8ICAgIDUgKysrLS0NCjEgZmls ZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQg YS9zcmMvYWRhcHRlci5jIGIvc3JjL2FkYXB0ZXIuYw0KaW5kZXggYjE4NGVlZC4uZjRmYmY4MiAx MDA2NDQNCi0tLSBhL3NyYy9hZGFwdGVyLmMNCisrKyBiL3NyYy9hZGFwdGVyLmMNCkBAIC0zMDkx LDEyICszMDkxLDEyIEBAIHN0YXRpYyBHU0xpc3QgKmdldF9sdGtfaW5mbyhHS2V5RmlsZSAqa2V5 X2ZpbGUsIGNvbnN0IGNoYXIgKnBlZXIsDQp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