projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dba5b
)
st/vdpau: Fix memory leak in vlVdpOutputSurfaceCreate.
author
Vinson Lee
<vlee@freedesktop.org>
Fri, 22 Feb 2013 06:13:06 +0000
(22:13 -0800)
committer
Vinson Lee
<vlee@freedesktop.org>
Sat, 23 Feb 2013 03:29:56 +0000
(19:29 -0800)
Fixes resource leak defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/output.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vdpau/output.c
b/src/gallium/state_trackers/vdpau/output.c
index a835126119909d63121fb937743942b9e14b66f5..8237eaceb266f46c46d24cd80903c8cdf4e8c07f 100644
(file)
--- a/
src/gallium/state_trackers/vdpau/output.c
+++ b/
src/gallium/state_trackers/vdpau/output.c
@@
-86,6
+86,7
@@
vlVdpOutputSurfaceCreate(VdpDevice device,
if (!res) {
pipe_mutex_unlock(dev->mutex);
FREE(dev);
+ FREE(vlsurface);
return VDP_STATUS_ERROR;
}