summaryrefslogtreecommitdiffstats
path: root/rpmmodule
diff options
context:
space:
mode:
authorpbrown <pbrown>1999-08-04 17:02:20 +0000
committerpbrown <pbrown>1999-08-04 17:02:20 +0000
commit1b59ce1f5f938ddf22256851808235cff7d87d46 (patch)
tree3f602516ffaf4c21e4a913a975200166510e1a84 /rpmmodule
parent4c37d06f9d35613e7473a289786658afbe45e19f (diff)
downloadanaconda-1b59ce1f5f938ddf22256851808235cff7d87d46.tar.gz
anaconda-1b59ce1f5f938ddf22256851808235cff7d87d46.tar.xz
anaconda-1b59ce1f5f938ddf22256851808235cff7d87d46.zip
fix segfault on transaction destruction if no file descriptor is
associated yet.
Diffstat (limited to 'rpmmodule')
-rw-r--r--rpmmodule/rpmmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c
index 41490e4d5..790e7ec8e 100644
--- a/rpmmodule/rpmmodule.c
+++ b/rpmmodule/rpmmodule.c
@@ -785,6 +785,7 @@ static PyObject * rpmtransCreate(PyObject * self, PyObject * args) {
Py_INCREF(db);
o->dbo = db;
+ o->scriptFd = NULL;
o->ts = rpmtransCreateSet(db ? db->db : NULL, rootPath);
o->keyList = PyList_New(0);