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

src/bin/e_info_server.c

index 8d95b66d1f68d69ed3f21a5581241b0db89554f1..389719019fbfad87f358a5d5c2d9241a19675bcf 100644 (file)
@@ -4461,7 +4461,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);