From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Bastien Nocera To: BlueZ development In-Reply-To: <20080313150643.GI8969@cathedrallabs.org> References: <20080313150643.GI8969@cathedrallabs.org> Date: Fri, 14 Mar 2008 18:30:13 +0000 Message-Id: <1205519413.30595.228.camel@cookie.hadess.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] [PATCH 1/2 v011] add support to fake HID devices Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net On Thu, 2008-03-13 at 11:06 -0400, Aristeu Rozanski wrote: > This patch adds support to fake HID devices. Instead of registering with > kernel, the fake HID will be handled in user level and an uinput device > will be created in order to get the events into input layer. > + fake = g_try_new0(struct fake_input, 1) Missing a semi-colon. > + if (fake) > + gfree(fake); g_free, not gfree. Works fine after those changes. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel