e_policy_wl: fix svace leak 39/133739/1 accepted/tizen/unified/20170613.194842 submit/tizen/20170613.104812
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 13 Jun 2017 07:52:55 +0000 (16:52 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 13 Jun 2017 07:52:55 +0000 (16:52 +0900)
Change-Id: Ia8a5f9b88a913bdce40f2420d86d1844047a3591

src/bin/e_policy_wl.c

index 3c1d460fd6af5ce0580f35042e02565ed1b85201..16e44aa6eeed56ebc999d4dc2253a6d47770b0b8 100644 (file)
@@ -6862,6 +6862,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;
@@ -6901,6 +6902,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);