elocation/geoclue2: Update generated code after generator leak fixes.

This brings in some fixed memory leaks from the generator.
This commit is contained in:
Stefan Schmidt 2014-11-24 10:03:01 +01:00
parent 8595e0632e
commit 53537579cd
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,7 @@ geo_clue2_client_start_call(Eldbus_Proxy *proxy, Geo_Clue2_Client_Start_Cb cb, c
if (!eldbus_message_arguments_append(msg, ""))
{
ERR("Error: Filling message.");
eldbus_message_unref(msg);
return NULL;
}
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
if (!eldbus_message_arguments_append(msg, ""))
{
ERR("Error: Filling message.");
eldbus_message_unref(msg);
return NULL;
}
p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_client_stop, cb, -1);

View File

@ -39,6 +39,7 @@ geo_clue2_manager_get_client_call(Eldbus_Proxy *proxy, Geo_Clue2_Manager_Get_Cli
if (!eldbus_message_arguments_append(msg, ""))
{
ERR("Error: Filling message.");
eldbus_message_unref(msg);
return NULL;
}
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
if (!eldbus_message_arguments_append(msg, "s", id))
{
ERR("Error: Filling message.");
eldbus_message_unref(msg);
return NULL;
}
p = eldbus_proxy_send(proxy, msg, cb_geo_clue2_manager_add_agent, cb, -1);