diff options
author | 2011-02-03 14:16:54 -0500 | |
---|---|---|
committer | 2011-02-14 14:16:18 -0500 | |
commit | 90b6f30548a52f3a59cda5c7db0b9c2a99ebb156 (patch) | |
tree | 837d46817deaab8185dae5c003038041ad888b0b /drivers/base/platform.c | |
parent | xen/gntalloc,gntdev: Add unmap notify ioctl (diff) | |
download | wireguard-linux-90b6f30548a52f3a59cda5c7db0b9c2a99ebb156.tar.xz wireguard-linux-90b6f30548a52f3a59cda5c7db0b9c2a99ebb156.zip |
xen-gntdev: Fix memory leak when mmap fails
The error path did not decrement the reference count of the grant structure.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions