]> err.no Git - linux-2.6/commit
[PATCH] hostap: Fix double free in prism2_config() error path
authorEugene Teo <eugene.teo@eugeneteo.net>
Mon, 20 Mar 2006 03:21:46 +0000 (19:21 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Mar 2006 21:16:57 +0000 (16:16 -0500)
commit8abceaf1cf44b9d95bcc366fa277b33e292141c4
tree42d669e650bf3891c76f9aefa5f749c60e81a242
parent54b85f489bdfafc9306dfcc21e0d2687c34c3b34
[PATCH] hostap: Fix double free in prism2_config() error path

The Coverity checker (CID: 930) spotted this double free on error path
(allocation failure). Do not free these here since generic error path
will take care of this.

Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net>
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_cs.c