mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-26 09:32:34 +01:00
client: Fix argv for display refresh
This commit is contained in:
parent
97cdffc4cd
commit
67f245a497
@ -168,8 +168,9 @@ void display_refresh_set_cmd(const char *family, const char *entity,
|
||||
display_refresh.argc = argc;
|
||||
|
||||
display_refresh.argv = l_new(char *, argc + 1);
|
||||
|
||||
for (i = 0; i < argc; i++)
|
||||
display_refresh.argv[i] = argv[i];
|
||||
display_refresh.argv[i] = l_strdup(argv[i]);
|
||||
|
||||
l_queue_clear(display_refresh.redo_entries, l_free);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user