diff options
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/libvirtd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 49b69ef8c..7dd7d5cdc 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -541,7 +541,7 @@ static int daemonSetupNetworking(virNetServerPtr srv, false, config->max_client_requests, ctxt))) { - virNetTLSContextFree(ctxt); + virObjectUnref(ctxt); goto error; } if (virNetServerAddService(srv, svcTLS, @@ -549,7 +549,7 @@ static int daemonSetupNetworking(virNetServerPtr srv, !config->listen_tcp ? "_libvirt._tcp" : NULL) < 0) goto error; - virNetTLSContextFree(ctxt); + virObjectUnref(ctxt); } } |