diff options
author | David Vrabel <[email protected]> | 2012-10-24 12:39:02 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2012-10-30 09:27:32 -0400 |
commit | a67baeb77375199bbd842fa308cb565164dd1f19 (patch) | |
tree | 7d0741784e172ba665dbef4dd7418150fdb2ab2f /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions