summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/eldbus/source_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/eldbus/source_client.c b/src/bin/eldbus/source_client.c
index 50c01885db..07f5773615 100644
--- a/src/bin/eldbus/source_client.c
+++ b/src/bin/eldbus/source_client.c
@@ -161,6 +161,7 @@ source_client_simple_method_call_no_reply_generate(const DBus_Method *method, Ei
161 eina_strbuf_append_printf(c_code, " if (!eldbus_message_arguments_append(msg, \"%s\"%s))\n", eina_strbuf_string_get(full_signature), eina_strbuf_string_get(args_call)); 161 eina_strbuf_append_printf(c_code, " if (!eldbus_message_arguments_append(msg, \"%s\"%s))\n", eina_strbuf_string_get(full_signature), eina_strbuf_string_get(args_call));
162 eina_strbuf_append_printf(c_code, " {\n"); 162 eina_strbuf_append_printf(c_code, " {\n");
163 eina_strbuf_append_printf(c_code, " ERR(\"Error: Filling message.\");\n"); 163 eina_strbuf_append_printf(c_code, " ERR(\"Error: Filling message.\");\n");
164 eina_strbuf_append_printf(c_code, " eldbus_message_unref(msg);\n");
164 eina_strbuf_append_printf(c_code, " return;\n"); 165 eina_strbuf_append_printf(c_code, " return;\n");
165 eina_strbuf_append_printf(c_code, " }\n"); 166 eina_strbuf_append_printf(c_code, " }\n");
166 eina_strbuf_append_printf(c_code, " eldbus_proxy_send(proxy, msg, NULL, NULL, -1);\n"); 167 eina_strbuf_append_printf(c_code, " eldbus_proxy_send(proxy, msg, NULL, NULL, -1);\n");
@@ -201,6 +202,7 @@ source_client_simple_method_call_generate(const DBus_Method *method, Eina_Strbuf
201 eina_strbuf_append_printf(c_code, " if (!eldbus_message_arguments_append(msg, \"%s\"%s))\n", eina_strbuf_string_get(full_signature), eina_strbuf_string_get(args_call)); 202 eina_strbuf_append_printf(c_code, " if (!eldbus_message_arguments_append(msg, \"%s\"%s))\n", eina_strbuf_string_get(full_signature), eina_strbuf_string_get(args_call));
202 eina_strbuf_append_printf(c_code, " {\n"); 203 eina_strbuf_append_printf(c_code, " {\n");
203 eina_strbuf_append_printf(c_code, " ERR(\"Error: Filling message.\");\n"); 204 eina_strbuf_append_printf(c_code, " ERR(\"Error: Filling message.\");\n");
205 eina_strbuf_append_printf(c_code, " eldbus_message_unref(msg);\n");
204 eina_strbuf_append_printf(c_code, " return NULL;\n"); 206 eina_strbuf_append_printf(c_code, " return NULL;\n");
205 eina_strbuf_append_printf(c_code, " }\n"); 207 eina_strbuf_append_printf(c_code, " }\n");
206 eina_strbuf_append_printf(c_code, " p = eldbus_proxy_send(proxy, msg, %s, cb, -1);\n", method->cb_name); 208 eina_strbuf_append_printf(c_code, " p = eldbus_proxy_send(proxy, msg, %s, cb, -1);\n", method->cb_name);