diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-07-11 14:35:48 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-08-07 11:47:41 +0100 |
commit | e10e1969d51f07cc2a5d47a59506c73461423ad9 (patch) | |
tree | 2b23a769d138d1718bd632d7f3382f6ab4cd3093 /daemon | |
parent | Turn qemuAgentPtr and qemuMonitorPtr into virObjectPtr instances (diff) | |
download | libvirt-e10e1969d51f07cc2a5d47a59506c73461423ad9.tar.gz libvirt-e10e1969d51f07cc2a5d47a59506c73461423ad9.tar.bz2 libvirt-e10e1969d51f07cc2a5d47a59506c73461423ad9.zip |
Turn virNetTLSContext and virNetTLSSession into virObject instances
Make virNetTLSContext and virNetTLSSession use the virObject
APIs for reference counting
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
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); } } |