Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1328634264-9931-1-git-send-email-frederic.dalleau@linux.intel.com> Date: Tue, 7 Feb 2012 20:30:42 +0100 Message-ID: Subject: Re: [PATCH] gateway: Fix crash if SCO connection fails From: "Dalleau, Frederic" To: linux-bluetooth@vger.kernel.org Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric_Dalleau?= Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, 2012/2/7 Luiz Augusto von Dentz > Hi Fr?d?ric, > It doesn't seems this change anything since the id is always returned > anyway, have you tried to reproduce it while running with valgrind? There is one case where the function returns 0. It doesn't appear in the patch, but you can check in the code. However I haven't tested with valgrind. Regards, Fr?d?ric