From: Pekka Pessi <[email protected]>
---
plugins/ofono.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/ofono.c b/plugins/ofono.c
index b15e1f5..82c7857 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -1012,7 +1012,7 @@ static void get_imsi(const char *path)
}
dbus_pending_call_set_notify(call, sim_properties_reply,
- (void *)path, NULL);
+ (void *)g_strdup(path), g_free);
done:
dbus_message_unref(message);
@@ -1164,7 +1164,7 @@ static void get_modem_properties(struct modem_data *modem)
}
dbus_pending_call_set_notify(call, modem_properties_reply,
- (void *)modem->path, NULL);
+ (void *)g_strdup(modem->path), g_free);
done:
dbus_message_unref(message);
--
1.7.0.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman