bug fix to initialize memory of SEngine class 96/37496/1
authorSoohye Shin <soohye.shin@samsung.com>
Mon, 30 Mar 2015 04:37:21 +0000 (13:37 +0900)
committerSoohye Shin <soohye.shin@samsung.com>
Mon, 30 Mar 2015 04:40:01 +0000 (13:40 +0900)
Change-Id: I4104e32a3c739c0004e006b90d8decdcc4329219
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
src/engine.cpp

index e2a910e..0d51e50 100644 (file)
@@ -84,6 +84,10 @@ struct SEngine {
 
        void (*update_cb)(void *data, bool focus);
        void *update_cb_data;
+
+       SEngine() {
+               memset(this, 0, sizeof(SEngine));
+       };
 };