From 386ea83b88820e27d112cfa315322a9342b63d2e Mon Sep 17 00:00:00 2001 From: "kibak.yoon" Date: Thu, 20 Apr 2017 12:58:44 +0900 Subject: [PATCH] sensord: initialize cynara conf pointer to NULL Change-Id: Ie80f3ad0053001424472bb03521450cebf5a6f92 Signed-off-by: kibak.yoon --- src/server/permission_checker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/permission_checker.cpp b/src/server/permission_checker.cpp index 05ead10..bbb1ad2 100644 --- a/src/server/permission_checker.cpp +++ b/src/server/permission_checker.cpp @@ -45,7 +45,7 @@ permission_checker::~permission_checker() void permission_checker::init_cynara(void) { int err; - cynara_configuration *conf; + cynara_configuration *conf = NULL; err = cynara_configuration_create(&conf); retm_if(err != CYNARA_API_SUCCESS, "Failed to create cynara configuration"); -- 2.7.4