From 728905a70a2ae4f3f5e2c6279882d662785b952e Mon Sep 17 00:00:00 2001 From: Wonnam Jang Date: Mon, 13 Jun 2016 19:25:11 +0900 Subject: [PATCH] Set initializing value Change-Id: I571048d0e8256cf99f44cc785af45d16052fcf2b Signed-off-by: Wonnam Jang --- server/sttd_dbus_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sttd_dbus_server.c b/server/sttd_dbus_server.c index e2266b8..721e1a6 100644 --- a/server/sttd_dbus_server.c +++ b/server/sttd_dbus_server.c @@ -625,8 +625,8 @@ int sttd_dbus_server_get_private_data(DBusConnection* conn, DBusMessage* msg) dbus_error_init(&err); int uid; - char* key; - char* data; + char* key = NULL; + char* data = NULL; int ret = 0; dbus_message_get_args(msg, &err, DBUS_TYPE_INT32, &uid, -- 2.7.4