diff options
author | David Vrabel <david.vrabel@citrix.com> | 2012-10-24 13:39:02 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-10-30 14:27:32 +0100 |
commit | a67baeb77375199bbd842fa308cb565164dd1f19 (patch) | |
tree | 7d0741784e172ba665dbef4dd7418150fdb2ab2f /drivers/atm/iphase.c | |
parent | x86: remove obsolete comment from asm/xen/hypervisor.h (diff) | |
download | linux-a67baeb77375199bbd842fa308cb565164dd1f19.tar.xz linux-a67baeb77375199bbd842fa308cb565164dd1f19.zip |
xen/gntdev: don't leak memory from IOCTL_GNTDEV_MAP_GRANT_REF
map->kmap_ops allocated in gntdev_alloc_map() wasn't freed by
gntdev_put_map().
Add a gntdev_free_map() helper function to free everything allocated
by gntdev_alloc_map().
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: stable@vger.kernel.org
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/atm/iphase.c')
0 files changed, 0 insertions, 0 deletions