Files
linux/drivers
Darren Jenkins 43f77e91ea 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 <darrenrjenkins@gmail.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-12 14:33:41 -07:00
..
2008-07-04 10:40:05 -07:00
2008-05-20 16:44:43 +02:00
2008-06-19 00:12:36 +02:00
2008-05-20 13:31:55 -07:00
2008-05-21 16:56:00 -07:00
2008-07-04 10:40:05 -07:00
2008-07-04 10:40:05 -07:00
2008-07-04 10:40:08 -07:00
2008-05-20 13:31:55 -07:00
2008-07-08 12:51:08 -07:00