diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-04-19 14:47:51 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-04-20 14:33:31 +0200 |
commit | 212df5cbd873dba67a6b24135dc45170a40959a5 (patch) | |
tree | 3936b13a9297176d66332928d21fa1c7f4fc1de8 /libnm/nm-dns-manager.c | |
parent | c828277872997dc0a90f30ff5a70705eec0979c3 (diff) |
libnm: fix memory leak in DNS manager
Diffstat (limited to 'libnm/nm-dns-manager.c')
-rw-r--r-- | libnm/nm-dns-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-dns-manager.c b/libnm/nm-dns-manager.c index f9ee332b8..b833d0c63 100644 --- a/libnm/nm-dns-manager.c +++ b/libnm/nm-dns-manager.c @@ -313,9 +313,9 @@ demarshal_dns_configuration (NMObject *object, GParamSpec *pspec, GVariant *valu vpn); g_free (domains); g_free (nameservers); + g_variant_unref (entry_var); if (!entry) { g_warning ("Ignoring invalid DNS entry"); - g_variant_unref (entry_var); continue; } |