On Fri, 31 Oct 2014, Benjamin Tissoires wrote: > > Shift the allocation down a few lines to avoid a memory leak and also > > add a check for allocation failure. > > > > Fixes: 2f31c5252910 ('HID: Introduce hidpp, a module to handle Logitech hid++ devices') > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > > > Ouch, I am ashamed of not having spot that :/ > > Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx> Good catch. Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html