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-05-24 09:56:11 -07:00
2008-07-10 18:04:43 -07:00
2007-05-08 11:15:09 -07:00
2008-02-03 17:11:42 +02:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2007-02-20 17:11:55 +00:00
2008-02-07 08:42:25 -08:00
2008-02-07 08:42:25 -08:00
2008-04-29 08:05:59 -07:00
2008-05-01 08:03:58 -07:00
2008-04-30 08:29:43 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2008-05-15 10:19:30 -07:00
2007-02-12 09:48:30 -08:00
2007-07-21 17:49:16 -07:00
2008-04-30 08:29:46 -07:00
2008-04-29 08:06:27 -07:00
2007-07-16 09:05:46 -07:00
2008-05-08 10:46:56 -07:00
2008-04-30 23:15:34 +02:00
2008-05-01 13:08:16 -04:00
2008-07-02 19:21:48 -07:00
2008-04-30 08:29:40 -07:00
2008-06-06 11:29:12 -07:00