summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-04-09 16:58:25 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit407c53e280d517d0b7b29f1d39e8219e2071ed12 (patch)
treed94128bf285274216e94f6b98cdce6552722ccd3 /src/lib/ecore_con
parent67cbc0d8af0bc489f37533024a5422a0009245c7 (diff)
ecore_con: legacy API do not expect object to be destroyed under our feet in any circumstances.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con_eet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_con/ecore_con_eet.c b/src/lib/ecore_con/ecore_con_eet.c
index 91dbf15e9c..2b3a48b5cf 100644
--- a/src/lib/ecore_con/ecore_con_eet.c
+++ b/src/lib/ecore_con/ecore_con_eet.c
@@ -733,7 +733,7 @@ ecore_con_eet_server_new(Ecore_Con_Server *server)
733 733
734 if (!server) return NULL; 734 if (!server) return NULL;
735 735
736 ece_obj = efl_add(ECORE_CON_EET_SERVER_OBJ_CLASS, efl_main_loop_get(), ecore_con_eet_base_server_set(efl_added, server)); 736 ece_obj = efl_add_ref(ECORE_CON_EET_SERVER_OBJ_CLASS, NULL, ecore_con_eet_base_server_set(efl_added, server));
737 737
738 return ece_obj; 738 return ece_obj;
739} 739}
@@ -745,7 +745,7 @@ ecore_con_eet_client_new(Ecore_Con_Server *server)
745 745
746 if (!server) return NULL; 746 if (!server) return NULL;
747 747
748 ece_obj = efl_add(ECORE_CON_EET_CLIENT_OBJ_CLASS, efl_main_loop_get(), ecore_con_eet_base_server_set(efl_added, server)); 748 ece_obj = efl_add_ref(ECORE_CON_EET_CLIENT_OBJ_CLASS, NULL, ecore_con_eet_base_server_set(efl_added, server));
749 749
750 return ece_obj; 750 return ece_obj;
751} 751}
@@ -753,7 +753,7 @@ ecore_con_eet_client_new(Ecore_Con_Server *server)
753EAPI void 753EAPI void
754ecore_con_eet_server_free(Ecore_Con_Eet *server) 754ecore_con_eet_server_free(Ecore_Con_Eet *server)
755{ 755{
756 efl_del(server); 756 efl_unref(server);
757} 757}
758 758
759EAPI void 759EAPI void