e_client: Do not free 'comp_data' here 52/261552/2 submit/tizen/20210721.075325
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 21 Jul 2021 05:50:33 +0000 (14:50 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Wed, 21 Jul 2021 06:05:08 +0000 (15:05 +0900)
The 'comp_data' gets deleted in e_comp_wl implementation creating the
'comp_data'. Thus, it's redundant to free the 'comp_data' in e_client
and it even gives confusion that the 'comp_data' is still alive at that
point when e_client tries to free the 'comp_data'.

Change-Id: I658c1fce58bca7e34ad612297935c862280c1d8a

src/bin/e_client.c

index bb4b6bde0fbd14796e283dc61838ada4dd375845..ab752ff2a78865749a01d6b1eeaa380f6fb2809e 100644 (file)
@@ -1311,7 +1311,6 @@ _e_client_del(E_Client *ec)
    E_FREE_FUNC(ec->ping_poller, ecore_poller_del);
    /* must be called before parent/child clear */
    _e_client_hook_call(E_CLIENT_HOOK_DEL, ec);
-   e_client_cdata_free(ec);
 
    if ((!ec->new_client) && (!stopping))
      {