[vlc-commits] commit: Fixed a vlc_mutex_t leak in direct3d video output. (Laurent Aimar )

git at videolan.org git at videolan.org
Thu Dec 2 22:09:43 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Dec  2 21:41:53 2010 +0100| [d61f3b7fc6d02a117c53d89e74e42dbe809b697a] | committer: Laurent Aimar 

Fixed a vlc_mutex_t leak in direct3d video output.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d61f3b7fc6d02a117c53d89e74e42dbe809b697a
---

 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 d8998ae..4163208 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -219,6 +219,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