mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 02:10:17 +01:00
core/dhcp: fix uninitialized GError in NMDhcpDhcpcd's ip4_start()
Found with `git grep 'GError.*[^,)];'| grep ' *= *NULL;' -v`
Fixes: a2abd15fe0 ('DHCP: Support dhcpcd-9.x')
This commit is contained in:
parent
a9d521bf8c
commit
fd50323232
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ ip4_start(NMDhcpClient *client, GError **error)
|
|||
const NMDhcpClientConfig *client_config;
|
||||
gs_unref_ptrarray GPtrArray *argv = NULL;
|
||||
pid_t pid;
|
||||
GError *local;
|
||||
GError *local = NULL;
|
||||
gs_free char *cmd_str = NULL;
|
||||
const char *dhcpcd_path;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue