xenbus_xs.c: fix a use-after-free
authorAdrian Bunk <bunk@stusta.de>
Thu, 26 Jul 2007 17:41:10 +0000 (10:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:35:17 +0000 (11:35 -0700)
commit98ac0e53facc851f8bc5110039ab05005c0c4736
tree602d059a8629b3e4f8f395796717842a7c5f3f07
parent4c6a1c130e00556a5c69101035bce4d9ab7c5c94
xenbus_xs.c: fix a use-after-free

This patch fixes an obvious use-after-free spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/xen/xenbus/xenbus_xs.c