summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjongmun.woo <jongmun.woo@samsung.com>2016-03-21 13:12:26 (GMT)
committerjongmun.woo <jongmun.woo@samsung.com>2016-03-21 13:12:51 (GMT)
commit6b1e7f684b0ffea326b3a7906aa3da663c5e8632 (patch)
treecc132b00e870d96ffed61c272256a1ff7a068972
parent5a18871a3e3d13c15b9dde8ab3b8dfaaee662c3e (diff)
downloadgeofence-dbus-6b1e7f684b0ffea326b3a7906aa3da663c5e8632.zip
geofence-dbus-6b1e7f684b0ffea326b3a7906aa3da663c5e8632.tar.gz
geofence-dbus-6b1e7f684b0ffea326b3a7906aa3da663c5e8632.tar.bz2
Signed-off-by: jongmun.woo <jongmun.woo@samsung.com> Change-Id: Ieeb2f1f4218db886c1792e0306125fba28512870
-rw-r--r--server/src/geofence_dbus_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/geofence_dbus_server.c b/server/src/geofence_dbus_server.c
index 441dc75..5740139 100644
--- a/server/src/geofence_dbus_server.c
+++ b/server/src/geofence_dbus_server.c
@@ -377,7 +377,7 @@ static void on_bus_acquired(GDBusConnection *conn, const gchar *name, gpointer u
geofence_dbus_callback_s *dbus_callback = ctx->dbus_callback;
geofence_dbus_signal_s *dbus_signal = g_new0(geofence_dbus_signal_s, 1);
- g_return_val_if_fail(dbus_signal, GEOFENCE_DBUS_SERVER_ERROR_MEMORY);
+ g_return_if_fail(dbus_signal);
if (dbus_callback->add_geofence_cb)
dbus_signal->add_geofence_h = g_signal_connect(geofence, "handle-add-geofence", G_CALLBACK(on_add_geofence), ctx);