Commit 26674312 authored by Laurent Aimar's avatar Laurent Aimar Committed by Rémi Duraffort

Fixed a vlc_mutex_t leak in direct3d video output.

(cherry picked from commit d61f3b7fc6d02a117c53d89e74e42dbe809b697a)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent ae072c46
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment