Fix crash in download-provider-interface.c 42/179842/2 accepted/tizen/unified/20180523.144505 submit/tizen/20180523.031333
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 23 May 2018 02:02:46 +0000 (11:02 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 23 May 2018 02:20:30 +0000 (11:20 +0900)
Change-Id: I31978127bbcb48c2cdd404e0b64ef919499d2124

provider-interface/download-provider-interface.c

index 5ba1c60..6a3c2d1 100755 (executable)
@@ -1291,7 +1291,7 @@ int dp_interface_set_notification_service_handle(const int id, const int type, v
                int length = 0;
                bundle_raw *raw_buffer = NULL;
                bundle *bundle_data = NULL;
-               int result = app_control_export_as_bundle(*((app_control_h *)handle), &bundle_data);
+               int result = app_control_export_as_bundle((app_control_h) handle, &bundle_data);
                if (result == APP_CONTROL_ERROR_NONE) {
                        result = bundle_encode_raw(bundle_data, &raw_buffer, &length);
                        if (result == 0 && length > 0) {