Fix memory leak on app_control handle 47/172147/2
authorTaesoo Jun <steve.jun@samsung.com>
Mon, 12 Mar 2018 07:22:37 +0000 (16:22 +0900)
committerTaesoo Jun <steve.jun@samsung.com>
Mon, 12 Mar 2018 08:55:02 +0000 (17:55 +0900)
Change-Id: I474f71c1589a64951cc7e778d2978b517cb11e19

src/net-popup.c

index 0c2ecf2..9020dd9 100755 (executable)
@@ -1325,6 +1325,9 @@ error:
 
        if (noti != NULL)
                notification_free(noti);
+
+       if (service_handle)
+               app_control_destroy(service_handle);
 }
 
 static void __data_usage_btn_on_cb(void *data, Evas_Object *obj, void *event_info)