Fix svace issue 98/127298/1 accepted/tizen/unified/20170427.180236 submit/tizen/20170427.063133
authorsinikang <sinikang@samsung.com>
Thu, 27 Apr 2017 04:10:45 +0000 (13:10 +0900)
committersinikang <sinikang@samsung.com>
Thu, 27 Apr 2017 04:13:21 +0000 (13:13 +0900)
Change-Id: I0cf5a805935e1080e6f24b853846ed54c9e3064f

packaging/org.tizen.telephony-syspopup.spec
src/mobile/telephony_syspopup_noti.c

index a02f2585c4e97a108dd7d92d4f55e6320fc2bd2b..1e799012d33e58beab78a3a500e4f245deff6ec7 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 1
-%define patchlevel 4
+%define patchlevel 5
 
 %define _usrdir /usr
 %define _appdir %{_usrdir}/apps
index 0ffa974bf68ec6502944fe21c8a22e158696d8b0..40127076e41fc4fa1574ee4f2826b2c472b726f8 100644 (file)
@@ -180,7 +180,6 @@ static gboolean __add_noti(tnoti_event_t event, const char *param)
        tnoti_property_mask mask = g_noti_configs[event].mask;
        const char *pkgname = g_noti_configs[event].pkgname;
        notification_type_e type = g_noti_configs[event].type;
-       char *text = NULL;
        char *extra_key = NULL;
        char *extra_value = NULL;
        gboolean ret = FALSE;
@@ -289,11 +288,6 @@ Error:
                notification_free(noti_h);
                noti_h = NULL;
        }
-
-       if (text) {
-               g_free(text);
-               text = NULL;
-       }
        if (extra_key) {
                g_free(extra_key);
                extra_key = NULL;