diff options
author | David Vrabel <david.vrabel@citrix.com> | 2012-10-24 12:39:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-17 13:15:54 -0800 |
commit | ccd37ab3230af7b32db1a139d9fe95918813bc23 (patch) | |
tree | c03a1ecfa552199085823e42947547cc5b9e3e9b /Kconfig | |
parent | 8ddd4813010397b5aa3bf9f81de1994c415dfc10 (diff) |
xen/gntdev: don't leak memory from IOCTL_GNTDEV_MAP_GRANT_REF
commit a67baeb77375199bbd842fa308cb565164dd1f19 upstream.
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>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions