libnm/tests: fix memleak in test test_nm_utils_check_valid_json()
Fixes: 82f8a54854
This commit is contained in:
@@ -4437,7 +4437,7 @@ test_nm_utils_dns_option_find_idx (void)
|
|||||||
static void
|
static void
|
||||||
_json_config_check_valid (const char *conf, gboolean expected)
|
_json_config_check_valid (const char *conf, gboolean expected)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
gs_free_error GError *error = NULL;
|
||||||
gboolean res;
|
gboolean res;
|
||||||
|
|
||||||
res = _nm_utils_check_valid_json (conf, &error);
|
res = _nm_utils_check_valid_json (conf, &error);
|
||||||
|
Reference in New Issue
Block a user