Module: Mesa Branch: master Commit: 1bac4a1e6fef40cb0adef1a4af0050fc6fb71c7f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bac4a1e6fef40cb0adef1a4af0050fc6fb71c7f
Author: Vinson Lee <v...@freedesktop.org> Date: Thu Feb 21 22:13:06 2013 -0800 st/vdpau: Fix memory leak in vlVdpOutputSurfaceCreate. Fixes resource leak defect reported by Coverity. Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Christian König <christian.koe...@amd.com> --- src/gallium/state_trackers/vdpau/output.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c index a835126..8237eac 100644 --- 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; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit