diff options
author | Darren Jenkins <[email protected]> | 2008-07-12 13:47:49 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-07-12 14:33:41 -0700 |
commit | 43f77e91eadbc290eb76a08110a039c809dde6c9 (patch) | |
tree | db580a0c9514ea29950c1daeda5cf4345e7d7fd3 /net/unix/sysctl_net_unix.c | |
parent | a26929fb489188ff959b1715ee67f0c9f84405b5 (diff) |
drivers/char/pcmcia/ipwireless/hardware.c fix resource leak
Coverity CID: 2172 RESOURCE_LEAK
When pool_allocate() tries to enlarge a packet, if it can not allocate enough
memory, it returns NULL without first freeing the old packet.
This patch just frees the packet first.
Signed-off-by: Darren Jenkins <[email protected]>
Acked-by: Jiri Kosina <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions