[libvirt] [PATCH 12/13] Turn virNetServer* into virObject instances

Eric Blake eblake at redhat.com
Tue Jul 17 20:05:24 UTC 2012


On 07/11/2012 07:35 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Make all the virNetServer* objects use the virObject APIs
> for reference countign

s/countign/counting/

> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---

> @@ -519,16 +530,6 @@ int virNetServerProgramSendStreamData(virNetServerProgramPtr prog,
>  }
>  
>  
> -void virNetServerProgramFree(virNetServerProgramPtr prog)
> +void virNetServerProgramDispose(void *obj ATTRIBUTE_UNUSED)

This is an instance where passing in NULL instead of having to create a
no-op dispose function might be useful (per my comment on virClassNew in
4/13).

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120717/99293d0b/attachment-0001.sig>


More information about the libvir-list mailing list