mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 12:00:36 +01:00
keyfile: fix memleak in keyfile reader's read_array_of_uint()
Fixes: 9559a7a260
This commit is contained in:
parent
a8afbb7299
commit
8239edbb9b
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ read_array_of_uint (GKeyFile *file,
|
|||
GArray *array = NULL;
|
||||
gsize length;
|
||||
int i;
|
||||
gint *tmp;
|
||||
gs_free int *tmp = NULL;
|
||||
|
||||
tmp = nm_keyfile_plugin_kf_get_integer_list (file, nm_setting_get_name (setting), key, &length, NULL);
|
||||
array = g_array_sized_new (FALSE, FALSE, sizeof (guint32), length);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue