Re: [PATCH 1/2 v011] add support to fake HID devices
Bastien Nocera <[email protected]>
| Newsgroups | gmane.linux.bluez.devel |
|---|---|
| Message-ID | <[email protected]> |
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. <snip> > + 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/