diff options
author | David Vrabel <david.vrabel@citrix.com> | 2012-10-24 12:39:02 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-10-30 09:27:32 -0400 |
commit | a67baeb77375199bbd842fa308cb565164dd1f19 (patch) | |
tree | 7d0741784e172ba665dbef4dd7418150fdb2ab2f /drivers/video | |
parent | b6514633bdc6a511f7c44b3ecb86d6071374239d (diff) |
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/video')
0 files changed, 0 insertions, 0 deletions