[libvirt] [PATCH] domain_conf: drop unused ref-count in snapshot object

Eric Blake eblake at redhat.com
Wed Mar 23 17:47:12 UTC 2011


On 03/23/2011 09:16 AM, Daniel P. Berrange wrote:
> On Fri, Mar 18, 2011 at 09:28:08AM -0600, Eric Blake wrote:
>> The ref count was assigned to 1 at creation, then never modified again
>> until it was decremented just before freeing the object.
>>
>> * src/conf/domain_conf.h (_virDomainSnapshotObj): Delete unused
>> field.
>> (virDomainSnapshotObjUnref): Delete unused prototype.
>> * src/libvirt_private.syms: Likewise.
>> * src/conf/domain_conf.c (virDomainSnapshotObjNew)
>> (virDomainSnapshotObjListDataFree): Update users.
>> (virDomainSnapshotObjUnref): Delete.
>> ---
> 
> ACK 

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list