[vlc-commits] vout: win32: Don't return a released sensor
Hugo Beauzée-Luyssen
git at videolan.org
Mon Jun 4 10:07:02 CEST 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jun 4 10:05:51 2018 +0200| [b3521625b279f92f7f92d8a486da562a7581ef37] | committer: Hugo Beauzée-Luyssen
vout: win32: Don't return a released sensor
Should fix CD e4997f13-5939-4135-8ceb-bbd7f8ed74af
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b3521625b279f92f7f92d8a486da562a7581ef37
---
modules/video_output/win32/sensors.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/win32/sensors.cpp b/modules/video_output/win32/sensors.cpp
index 69a5f9c531..25bf7870fb 100644
--- a/modules/video_output/win32/sensors.cpp
+++ b/modules/video_output/win32/sensors.cpp
@@ -216,6 +216,7 @@ void *HookWindowsSensors(vout_display_t *vd, HWND hwnd)
}
pSensor->Release();
+ pSensor = NULL;
}
}
pInclinometers->Release();
More information about the vlc-commits
mailing list