aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/xen/gntalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/gntalloc.c b/drivers/xen/gntalloc.c
index e2400c8963f..934985d14c2 100644
--- a/drivers/xen/gntalloc.c
+++ b/drivers/xen/gntalloc.c
@@ -525,6 +525,7 @@ static int gntalloc_mmap(struct file *filp, struct vm_area_struct *vma)
525 rv = -ENOENT; 525 rv = -ENOENT;
526 pr_debug("%s: Could not find grant reference", 526 pr_debug("%s: Could not find grant reference",
527 __func__); 527 __func__);
528 kfree(vm_priv);
528 goto out_unlock; 529 goto out_unlock;
529 } 530 }
530 531