Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264769
b: refs/heads/master
c: 00b1562
h: refs/heads/master
i:
  264767: 3fb005a
v: v3
  • Loading branch information
Bojan Prtvar authored and Jiri Kosina committed Aug 4, 2011
1 parent 20c031d commit ef93c53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 6371fe54b500f1f31033e0035a061fa320171930
refs/heads/master: 00b15628b0aa73199f74bd6c988b8d2b55f51190
8 changes: 4 additions & 4 deletions trunk/drivers/hid/hid-prodikeys.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ static int pk_probe(struct hid_device *hdev, const struct hid_device_id *id)
if (pm == NULL) {
hid_err(hdev, "can't alloc descriptor\n");
ret = -ENOMEM;
goto err_free;
goto err_free_pk;
}

pm->pk = pk;
Expand Down Expand Up @@ -849,10 +849,10 @@ static int pk_probe(struct hid_device *hdev, const struct hid_device_id *id)
err_stop:
hid_hw_stop(hdev);
err_free:
if (pm != NULL)
kfree(pm);

kfree(pm);
err_free_pk:
kfree(pk);

return ret;
}

Expand Down

0 comments on commit ef93c53

Please sign in to comment.