Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264958
b: refs/heads/master
c: b4f28a9
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Felipe Balbi committed Sep 9, 2011
1 parent d61a9f0 commit ad46594
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: 0156cf8603b86c949d02aa315684b4c677e66638
refs/heads/master: b4f28a98ea64b6cb009bb03810e8a8dd08767f46
4 changes: 3 additions & 1 deletion trunk/drivers/usb/dwc3/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,10 @@ static int dwc3_testmode_open(struct inode *inode, struct file *file)
if (!buf0)
return -ENOMEM;
buf1 = kmalloc(BUF_SIZE, GFP_KERNEL);
if (!buf1)
if (!buf1) {
kfree(buf0);
return -ENOMEM;
}

memset(buf0, 0xaa, BUF_SIZE);
memset(buf1, 0x33, BUF_SIZE);
Expand Down

0 comments on commit ad46594

Please sign in to comment.