e_info_server: svace fix, uninitialized variable 'array_of_string' was passed 93/143993/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 14 Aug 2017 07:17:37 +0000 (16:17 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 14 Aug 2017 07:17:37 +0000 (16:17 +0900)
Change-Id: Ia2385c7b2ba768fd0b9cbf6671e0c59c81049b5c

src/bin/e_info_server.c

index 493426cf3183e88ec00bc0eb992da790dbddf5bf..74adbe9a4362c02c59fc8054a0b8c7fe17e0576e 100644 (file)
@@ -4369,7 +4369,7 @@ _e_info_server_cb_kill_client(const Eldbus_Service_Interface *iface EINA_UNUSED,
    uint32_t mode;
    const char *str_value;
    int count;
-   Eldbus_Message_Iter *array_of_string;
+   Eldbus_Message_Iter *array_of_string = NULL;
 
    res = eldbus_message_arguments_get(msg, VALUE_TYPE_REQUEST_FOR_KILL,
                                       &mode, &uint64_value, &str_value);