e_policy_wl: fix svace leak
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 13 Jun 2017 07:52:55 +0000 (16:52 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 5 Jul 2017 08:47:33 +0000 (17:47 +0900)
Change-Id: Ia8a5f9b88a913bdce40f2420d86d1844047a3591

src/bin/e_policy_wl.c

index 2895631..5a5a23d 100644 (file)
@@ -6864,6 +6864,7 @@ e_policy_wl_shutdown(void)
    E_Policy_Wl_Tzsh_Srv *tzsh_srv;
    E_Policy_Wl_Tzsh_Extension *tzsh_extension;
    E_Policy_Wl_Tzlaunch *tzlaunch;
+   E_Policy_Wl_Tzlaunch_Effect_Info *effect_info;
    E_Policy_Wl_Tz_Dpy_Pol *tz_dpy_pol;
    E_Policy_Wl_Tz_Indicator *tz_indicator;
    struct wl_global *global;
@@ -6903,6 +6904,11 @@ e_policy_wl_shutdown(void)
    EINA_LIST_FREE(polwl->tzlaunchs, tzlaunch)
      wl_resource_destroy(tzlaunch->res_tzlaunch);
 
+   EINA_LIST_FREE(polwl->tzlaunch_effect_info, effect_info)
+     {
+        E_FREE(effect_info);
+     }
+
    EINA_LIST_FREE(polwl->tz_indicators, tz_indicator)
      {
         eina_list_free(tz_indicator->ec_list);