Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161246
b: refs/heads/master
c: 55dba52
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Kosina committed Jun 26, 2009
1 parent eec705a commit 176bca5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38b7f49a0654cb52cac61c6455807248eee3059d
refs/heads/master: 55dba52458a11126ff4445b5b94ebde03afcf47a
4 changes: 3 additions & 1 deletion trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1100,8 +1100,10 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int i
hid_debug_event(hid, buf);

report = hid_get_report(report_enum, data);
if (!report)
if (!report) {
kfree(buf);
return -1;
}

/* dump the report */
snprintf(buf, HID_DEBUG_BUFSIZE - 1,
Expand Down

0 comments on commit 176bca5

Please sign in to comment.