]> xenbits.xensource.com Git - libvirt.git/commit
domain_conf: drop unused ref-count in snapshot object
authorEric Blake <eblake@redhat.com>
Fri, 18 Mar 2011 15:20:35 +0000 (09:20 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 23 Mar 2011 17:34:29 +0000 (11:34 -0600)
commite904ce3c47508b54e43f78d13aa48dd2b74d0546
tree1636cb6fb8792d1a48dd8b0af766d7c4c7a60e5c
parent206fc979b1656722b254e683d89b3e9fc4480c63
domain_conf: drop unused ref-count in snapshot object

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.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms