[vlc-commits] commit: Fixed a vlc_mutex_t leak in direct3d video output. (Laurent Aimar )
git at videolan.org
git at videolan.org
Sun Jan 9 11:08:22 CET 2011
vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Dec 2 21:41:53 2010 +0100| [2667431257e8e6df9e233601fa9eed0dce497a1a] | committer: Rémi Duraffort
Fixed a vlc_mutex_t leak in direct3d video output.
(cherry picked from commit d61f3b7fc6d02a117c53d89e74e42dbe809b697a)
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2667431257e8e6df9e233601fa9eed0dce497a1a
---
modules/video_output/msw/direct3d.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index 37eaf1d..8efea7e 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -216,6 +216,7 @@ static void Close(vlc_object_t *object)
vout_display_t * vd = (vout_display_t *)object;
var_DelCallback(vd, "direct3d-desktop", DesktopCallback, NULL);
+ vlc_mutex_destroy(&vd->sys->lock);
Direct3DClose(vd);
More information about the vlc-commits
mailing list