Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187118
b: refs/heads/master
c: 9b3a654
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Mar 12, 2010
1 parent 33737fc commit 584d4de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 2d30a1f6315b8940537e8e98882c6038fbac9ba5
refs/heads/master: 9b3a6549b2602ca30f58715a0071e29f9898cae9
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/ses.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,6 @@ static int ses_intf_add(struct device *cdev,
ses_dev->page10_len = len;
buf = NULL;
}
kfree(hdr_buf);

scomp = kzalloc(sizeof(struct ses_component) * components, GFP_KERNEL);
if (!scomp)
goto err_free;
Expand All @@ -608,6 +606,8 @@ static int ses_intf_add(struct device *cdev,
goto err_free;
}

kfree(hdr_buf);

edev->scratch = ses_dev;
for (i = 0; i < components; i++)
edev->component[i].scratch = scomp + i;
Expand Down

0 comments on commit 584d4de

Please sign in to comment.