--- test/agent.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/test/agent.c b/test/agent.c index ae74074..5cdeeb4 100644 --- a/test/agent.c +++ b/test/agent.c @@ -504,6 +504,7 @@ static char *get_default_adapter_path(DBusConnection *conn) fprintf(stderr, "%s\n", err.message); dbus_error_free(&err); } + dbus_message_unref(reply); return NULL; } @@ -562,6 +563,7 @@ static char *get_adapter_path(DBusConnection *conn, const char *adapter) fprintf(stderr, "%s\n", err.message); dbus_error_free(&err); } + dbus_message_unref(reply); return NULL; } -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html