Typos and transfer trash.

CVS patchset: 6761
CVS date: 2003/04/17 22:14:15
This commit is contained in:
jbj 2003-04-17 22:14:15 +00:00
parent c6156e0abd
commit 8490f11738
2 changed files with 15 additions and 1 deletions

View File

@ -1428,7 +1428,7 @@ fprintf(stderr, "%p -- ts %p db %p\n", s, s->ts, s->ts->rdb);
the items on the list as well :-) */
Py_DECREF(s->keyList);
PyObject_Del((PyObject *)s);
PyObject_Del((PyObject *)s);
}
/** \ingroup py_c

14
python/testrollback.py Normal file
View File

@ -0,0 +1,14 @@
#!/usr/bin/python
import rpm
import time
ts = rpm.TransactionSet()
ts.Debug(-1)
for x in range(100):
tidlist = ts.IDTXload()
time.sleep(3)
print "id(tidlist): %s" % id(tidlist)
del tidlist