Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98856
b: refs/heads/master
c: 43f77e9
h: refs/heads/master
v: v3
  • Loading branch information
Darren Jenkins authored and Linus Torvalds committed Jul 12, 2008
1 parent 0f65177 commit 07f4c54
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: a26929fb489188ff959b1715ee67f0c9f84405b5
refs/heads/master: 43f77e91eadbc290eb76a08110a039c809dde6c9
4 changes: 3 additions & 1 deletion trunk/drivers/char/pcmcia/ipwireless/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,10 @@ static struct ipw_rx_packet *pool_allocate(struct ipw_hardware *hw,
packet = kmalloc(sizeof(struct ipw_rx_packet) +
old_packet->length + minimum_free_space,
GFP_ATOMIC);
if (!packet)
if (!packet) {
kfree(old_packet);
return NULL;
}
memcpy(packet, old_packet,
sizeof(struct ipw_rx_packet)
+ old_packet->length);
Expand Down

0 comments on commit 07f4c54

Please sign in to comment.