Initialize variable to null 76/145476/1
authorSeungha Son <seungha.son@samsung.com>
Tue, 22 Aug 2017 10:52:15 +0000 (19:52 +0900)
committerSeungha Son <seungha.son@samsung.com>
Tue, 22 Aug 2017 10:54:36 +0000 (19:54 +0900)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3d901d0269837b48c4c4bfddcc0e8d0b673f0f1f

src/notification_internal.c

index 9569f17..16020c0 100755 (executable)
@@ -1897,7 +1897,7 @@ EXPORT_API int notification_get_extension_event_handler(notification_h noti,
 {
        int err;
        int ret = NOTIFICATION_ERROR_NONE;
-       char *ret_str;
+       char *ret_str = NULL;
        char key[KEY_LEN];
        bundle *app_control_bundle = NULL;
        app_control_h ret_app_control = NULL;