diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2016-05-20 09:51:13 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-05-31 14:53:47 +0200 |
commit | 6eb3d7e09b9093aeea99b065a41c16a34331579f (patch) | |
tree | e74994f5be9a17a045426ba8ab11c3e0a35ffa68 | |
parent | 1f7e12eebfb6ebcca210996fe4d94e93853ef029 (diff) | |
download | NetworkManager-6eb3d7e09b9093aeea99b065a41c16a34331579f.tar.gz |
libnm-core/tests: fix memory leak
-rw-r--r-- | libnm-core/tests/test-general.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/tests/test-general.c b/libnm-core/tests/test-general.c index c80f55893f..c2b6c955da 100644 --- a/libnm-core/tests/test-general.c +++ b/libnm-core/tests/test-general.c @@ -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); |