diff --git a/client/main.c b/client/main.c
index e30946f..95d237f 100644
--- a/client/main.c
+++ b/client/main.c
static GList *ctrl_list;
static GList *dev_list;
+static void proxy_leak(gpointer data)
+{
+ printf("Leaking proxy %p\n", data);
+}
+
static void connect_handler(DBusConnection *connection, void *user_data)
{
rl_set_prompt(COLOR_BLUE "[bluetooth]" COLOR_OFF "# ");
dbus_connection_unref(dbus_conn);
g_main_loop_unref(main_loop);
+ g_list_free_full(ctrl_list, proxy_leak);
+ g_list_free_full(dev_list, proxy_leak);
+
return 0;
}