]> git.baikalelectronics.ru Git - kernel.git/commit
staging: omapdrm/omap_gem_dmabuf.c: fix memory leakage
authorCong Ding <dinggnu@gmail.com>
Tue, 15 Jan 2013 19:46:50 +0000 (20:46 +0100)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Feb 2013 22:38:05 +0000 (17:38 -0500)
commite6993f5c3cb66bad2ec35c6ec25ce10aac8ffa67
treebe3e30e91e66f5680b70dead956f42ae26548eca
parent043134d8f511d97f3c7ced7cee40677ecf950675
staging: omapdrm/omap_gem_dmabuf.c: fix memory leakage

There is a memory leakage in variable sg if it goes to error.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_gem_dmabuf.c