diff options
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/xenbus/xenbus_xs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xenbus/xenbus_xs.c b/drivers/xen/xenbus/xenbus_xs.c index 9e943fbce81b..227d53b12a5c 100644 --- a/drivers/xen/xenbus/xenbus_xs.c +++ b/drivers/xen/xenbus/xenbus_xs.c | |||
@@ -782,8 +782,8 @@ static int process_msg(void) | |||
782 | msg->u.watch.vec = split(body, msg->hdr.len, | 782 | msg->u.watch.vec = split(body, msg->hdr.len, |
783 | &msg->u.watch.vec_size); | 783 | &msg->u.watch.vec_size); |
784 | if (IS_ERR(msg->u.watch.vec)) { | 784 | if (IS_ERR(msg->u.watch.vec)) { |
785 | kfree(msg); | ||
786 | err = PTR_ERR(msg->u.watch.vec); | 785 | err = PTR_ERR(msg->u.watch.vec); |
786 | kfree(msg); | ||
787 | goto out; | 787 | goto out; |
788 | } | 788 | } |
789 | 789 | ||