mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 13:50:13 +01:00
libnm/tests: fix memleak in test test_nm_utils_check_valid_json()
Fixes: 82f8a54854
This commit is contained in:
parent
5dea2efd9e
commit
aa04e04c83
1 changed files with 1 additions and 1 deletions
|
|
@ -4437,7 +4437,7 @@ test_nm_utils_dns_option_find_idx (void)
|
|||
static void
|
||||
_json_config_check_valid (const char *conf, gboolean expected)
|
||||
{
|
||||
GError *error = NULL;
|
||||
gs_free_error GError *error = NULL;
|
||||
gboolean res;
|
||||
|
||||
res = _nm_utils_check_valid_json (conf, &error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue