Fix the issue detected by static analysis tool 15/126015/1
authorsungwook79.park <sungwook79.park@samsung.com>
Thu, 20 Apr 2017 01:10:43 +0000 (10:10 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Thu, 20 Apr 2017 01:10:43 +0000 (10:10 +0900)
Change-Id: I33edcb0e4f5413b4e8a29d6212a41da0f44191a9
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/language_engine_mgr.cpp

index 5e8856f..1a2a5c4 100644 (file)
@@ -46,6 +46,8 @@ language_engine_mgr::language_engine_mgr() {
        _db_path = "/opt/usr/data/smartreply-service/";
        _lib_extension = ".so";
        _callback = nullptr;
+       _package_mgr = NULL;
+       _mutex = G_STATIC_MUTEX_INIT;
 }
 
 language_engine_mgr::~language_engine_mgr() {