Diff between d88e90d41048358b67dc2c9b52d0cdc3bb8703de and f0adf027206fb407b0c6246b9786fc045427e212
Changed Files
| File | Additions | Deletions | Status |
| client/main.c | +6 | -0 | modified |
Full Patch
diff --git a/client/main.c b/client/main.c
index b8eb707..ddfe511 100644
--- a/client/main.c
+++ b/client/main.c
@@ -428,8 +428,14 @@ static void cmd_select(const char *arg)
return;
}
+ if (default_ctrl == proxy)
+ return;
+
default_ctrl = proxy;
print_adapter(proxy, NULL);
+
+ g_list_free(dev_list);
+ dev_list = NULL;
}
static void cmd_devices(const char *arg)