dns: fix meanleak in nm-dns-systemd-resolved's call_done()

Fixes: 818023c257 ('dns/resolved: add systemd-resolved backend')
This commit is contained in:
Thomas Haller
2019-04-07 21:47:55 +02:00
parent 9c96d0a8c3
commit 759927f99e

View File

@@ -121,7 +121,7 @@ _interface_config_free (InterfaceConfig *config)
static void
call_done (GObject *source, GAsyncResult *r, gpointer user_data)
{
GVariant *v;
gs_unref_variant GVariant *v = NULL;
gs_free_error GError *error = NULL;
NMDnsSystemdResolved *self = (NMDnsSystemdResolved *) user_data;