mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 06:00:32 +01:00
cli: fix a memory leak
This commit is contained in:
parent
8f5192ab49
commit
3f92bb3c2e
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ parse_output_fields (const char *fields_str, const NmcOutputField fields_array[]
|
|||
}
|
||||
}
|
||||
done:
|
||||
if (fields)
|
||||
g_strfreev (fields);
|
||||
return array;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue