o->dbus_pending = eina_inlist_append(o->dbus_pending,
EINA_INLIST_GET(p));
+ dbus_message_unref(msg);
return p;
error_send:
dbus_set_error(&err, "Failed", "call setup failed.");
cb(data, NULL, &err);
}
+ dbus_message_unref(msg);
return NULL;
}
INF("Hangup(%s)", c->base.path);
p = _bus_object_message_send(&c->base, msg, _ofono_simple_reply, ctx);
- dbus_message_unref(msg);
return p;
error:
INF("Answer(%s)", c->base.path);
p = _bus_object_message_send(&c->base, msg, _ofono_simple_reply, ctx);
- dbus_message_unref(msg);
return p;
error:
DBG("Get calls of %s", m->base.path);
_bus_object_message_send(&m->base, msg, _ofono_calls_get_reply, m);
- dbus_message_unref(msg);
}
static OFono_Modem *_modem_new(const char *path)
INF("ChangePin(%s, %s, %s)", what, old, new);
p = _bus_object_message_send(&m->base, msg, _ofono_simple_reply, ctx);
- dbus_message_unref(msg);
return p;
error_message:
INF("ResetPin(%s, %s, %s)", what, puk, new);
p = _bus_object_message_send(&m->base, msg, _ofono_simple_reply, ctx);
- dbus_message_unref(msg);
return p;
error_message:
INF("SupplementaryServices.Initiate(%s)", command);
p = _bus_object_message_send(&m->base, msg, _ofono_string_reply, ctx);
- dbus_message_unref(msg);
return p;
error_message:
INF("Dial(%s, %s)", number, hide_callerid);
p = _bus_object_message_send(&m->base, msg, _ofono_dial_reply, ctx);
- dbus_message_unref(msg);
return p;
error_message:
INF("Call-Volume - Property:%s called.", property);
p = _bus_object_message_send(&m->base, msg, _ofono_simple_reply, ctx);
- dbus_message_unref(msg);
-
return p;
error_message_args:
INF("Voice-Call-Manager - SendTones:%s called.", tones);
p = _bus_object_message_send(&m->base, msg, _ofono_simple_reply, ctx);
-
return p;
error_message_args:
dbus_message_unref(msg);