isdn: gigaset: use after free
authorDan Carpenter <error27@gmail.com>
Thu, 5 Aug 2010 22:21:26 +0000 (22:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Aug 2010 06:04:12 +0000 (23:04 -0700)
commit8bcfbd0af0f8ee50033091e75ab3d6b6e7fa8867
tree10b10edd8ecc8020e7ae2182ddf7fa06761523c6
parent7e27a0aeb98d53539bdc38384eee899d6db62617
isdn: gigaset: use after free

I moved the kfree(cb) below the dereferences.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/bas-gigaset.c