Fixed crash when contruct notification handle without sound data
authoryoungsub ko <ys4610.ko@samsung.com>
Fri, 24 Aug 2012 07:33:11 +0000 (16:33 +0900)
committeryoungsub ko <ys4610.ko@samsung.com>
Fri, 24 Aug 2012 07:33:11 +0000 (16:33 +0900)
src/ui_notification.c

index 0df0991..16d6b25 100755 (executable)
@@ -137,7 +137,7 @@ static int ui_notification_construct(bool ongoing, notification_h raw_handle, ui
        char *title;
        char *content;
        bundle *service_data;
-       const char *sound;
+       const char *sound = NULL;
        notification_sound_type_e sound_type;
        notification_vibration_type_e vib_type;