[Bf-blender-cvs] [afe8a40] master: Fix uninitialized memory use
Campbell Barton
noreply at git.blender.org
Tue Aug 12 00:30:08 CEST 2014
Commit: afe8a4040f4838fd957a82582766f6bae76163d0
Author: Campbell Barton
Date: Tue Aug 12 08:21:02 2014 +1000
Branches: master
https://developer.blender.org/rBafe8a4040f4838fd957a82582766f6bae76163d0
Fix uninitialized memory use
===================================================================
M intern/ghost/intern/GHOST_SystemX11.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index 6d948b2..fb56824 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -140,6 +140,8 @@ GHOST_SystemX11(
#undef GHOST_INTERN_ATOM
m_last_warp = 0;
+ m_last_release_keycode = 0;
+ m_last_release_time = 0;
/* compute the initial time */
timeval tv;
More information about the Bf-blender-cvs
mailing list