vme: Free DMA resource allocation structure
authorMartyn Welch <martyn.welch@ge.com>
Thu, 6 Jun 2013 11:29:16 +0000 (12:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:54:08 +0000 (12:54 -0700)
commitfd5c25614012ccad75ef505982af4d6c08d0df83
tree8a45e79e426b33991f58df71a60c56bb05598385
parent71811f3271cd986e223be44830e5961056561ac3
vme: Free DMA resource allocation structure

There is a memory leak in the function vme_dma_free(). The resource
structure allocated in vme_dma_request() needs to be free'd in
vme_dma_free().

Reported-by: De Roo, Steven <steven.deroo@arcelormittal.com>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vme/vme.c