3
0
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:
Tim Kourt 2018-11-08 16:25:20 -08:00 committed by Denis Kenzior
parent 97cdffc4cd
commit 67f245a497

View File

@ -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);