summaryrefslogtreecommitdiff
path: root/src/lib/elocation
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-11-24 10:03:01 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-11-24 10:14:23 +0100
commit53537579cddc27dbadf83ab05031e18807707534 (patch)
treee8c16b17f1da15171e2037bf7d5c2a97b5763291 /src/lib/elocation
parent8595e0632e54fc54212a24e4125792532bbd7d69 (diff)
elocation/geoclue2: Update generated code after generator leak fixes.
This brings in some fixed memory leaks from the generator.
Diffstat (limited to 'src/lib/elocation')
-rw-r--r--src/lib/elocation/gen/eldbus_geo_clue2_client.c2
-rw-r--r--src/lib/elocation/gen/eldbus_geo_clue2_manager.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_client.c b/src/lib/elocation/gen/eldbus_geo_clue2_client.c
index 4278233b0c..12dcf51ce1 100644
--- a/src/lib/elocation/gen/eldbus_geo_clue2_client.c
+++ b/src/lib/elocation/gen/eldbus_geo_clue2_client.c
@@ -39,6 +39,7 @@ geo_clue2_client_start_call(Eldbus_Proxy *proxy, Geo_Clue2_Client_Start_Cb cb, c
39 if (!eldbus_message_arguments_append(msg, "")) 39 if (!eldbus_message_arguments_append(msg, ""))
40 { 40 {
41 ERR("Error: Filling message."); 41 ERR("Error: Filling message.");
42 eldbus_message_unref(msg);
42 return NULL; 43 return NULL;
43 } 44 }
44 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_client_start, cb, -1); 45 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_client_start, cb, -1);
@@ -82,6 +83,7 @@ geo_clue2_client_stop_call(Eldbus_Proxy *proxy, Geo_Clue2_Client_Stop_Cb cb, con
82 if (!eldbus_message_arguments_append(msg, "")) 83 if (!eldbus_message_arguments_append(msg, ""))
83 { 84 {
84 ERR("Error: Filling message."); 85 ERR("Error: Filling message.");
86 eldbus_message_unref(msg);
85 return NULL; 87 return NULL;
86 } 88 }
87 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_client_stop, cb, -1); 89 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_client_stop, cb, -1);
diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_manager.c b/src/lib/elocation/gen/eldbus_geo_clue2_manager.c
index 1fea88947d..ed9f60f7f0 100644
--- a/src/lib/elocation/gen/eldbus_geo_clue2_manager.c
+++ b/src/lib/elocation/gen/eldbus_geo_clue2_manager.c
@@ -39,6 +39,7 @@ geo_clue2_manager_get_client_call(Eldbus_Proxy *proxy, Geo_Clue2_Manager_Get_Cli
39 if (!eldbus_message_arguments_append(msg, "")) 39 if (!eldbus_message_arguments_append(msg, ""))
40 { 40 {
41 ERR("Error: Filling message."); 41 ERR("Error: Filling message.");
42 eldbus_message_unref(msg);
42 return NULL; 43 return NULL;
43 } 44 }
44 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_manager_get_client, cb, -1); 45 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_manager_get_client, cb, -1);
@@ -82,6 +83,7 @@ geo_clue2_manager_add_agent_call(Eldbus_Proxy *proxy, Geo_Clue2_Manager_Add_Agen
82 if (!eldbus_message_arguments_append(msg, "s", id)) 83 if (!eldbus_message_arguments_append(msg, "s", id))
83 { 84 {
84 ERR("Error: Filling message."); 85 ERR("Error: Filling message.");
86 eldbus_message_unref(msg);
85 return NULL; 87 return NULL;
86 } 88 }
87 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_manager_add_agent, cb, -1); 89 p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_manager_add_agent, cb, -1);