diff options
| -rw-r--r-- | drivers/xen/pvcalls-front.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/pvcalls-front.c b/drivers/xen/pvcalls-front.c index 2f11ca72a281..77224d8f3e6f 100644 --- a/drivers/xen/pvcalls-front.c +++ b/drivers/xen/pvcalls-front.c | |||
| @@ -385,8 +385,8 @@ static int create_active(struct sock_mapping *map, int *evtchn) | |||
| 385 | out_error: | 385 | out_error: |
| 386 | if (*evtchn >= 0) | 386 | if (*evtchn >= 0) |
| 387 | xenbus_free_evtchn(pvcalls_front_dev, *evtchn); | 387 | xenbus_free_evtchn(pvcalls_front_dev, *evtchn); |
| 388 | kfree(map->active.data.in); | 388 | free_pages((unsigned long)map->active.data.in, PVCALLS_RING_ORDER); |
| 389 | kfree(map->active.ring); | 389 | free_page((unsigned long)map->active.ring); |
| 390 | return ret; | 390 | return ret; |
| 391 | } | 391 | } |
| 392 | 392 | ||
