diff options
author | Erik Troan <ewt@redhat.com> | 1999-08-09 22:38:52 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-08-09 22:38:52 +0000 |
commit | b45eeef4f792d974f6759571e94f23fd4a25a3dc (patch) | |
tree | d0369c86b1b52aba6c220c34789f123fbc8bea63 /rpmmodule | |
parent | a5abb572a8c219811a7014a74a208bde9a90aa42 (diff) | |
download | anaconda-b45eeef4f792d974f6759571e94f23fd4a25a3dc.tar.gz anaconda-b45eeef4f792d974f6759571e94f23fd4a25a3dc.tar.xz anaconda-b45eeef4f792d974f6759571e94f23fd4a25a3dc.zip |
added some harmless comments
Diffstat (limited to 'rpmmodule')
-rw-r--r-- | rpmmodule/rpmmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c index 5578483b2..852406f4d 100644 --- a/rpmmodule/rpmmodule.c +++ b/rpmmodule/rpmmodule.c @@ -798,6 +798,8 @@ static void rpmtransDealloc(PyObject * o) { rpmtransFree(trans->ts); if (trans->dbo) Py_DECREF(trans->dbo); if (trans->scriptFd) fdClose(trans->scriptFd); + /* this will free the keyList, and decrement the ref count of all + the items on the list as well :-) */ Py_DECREF(trans->keyList); } @@ -849,6 +851,7 @@ static PyObject * rpmtransAdd(rpmtransObject * s, PyObject * args) { else rpmtransAddPackage(s->ts, h->h, NULL, key, isUpgrade, NULL); + /* This should increment the usage count for me */ if (key) PyList_Append(s->keyList, key); Py_INCREF(Py_None); |