fix: do headerFree after headerRead.

CVS patchset: 6849
CVS date: 2003/05/16 21:14:30
This commit is contained in:
jbj 2003-05-16 21:14:30 +00:00
parent 2dfc9f2eef
commit 38004c8677
1 changed files with 1 additions and 0 deletions

View File

@ -917,6 +917,7 @@ int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag)
}
headerFreeIterator(hi);
h = headerFree(h);
Py_BEGIN_ALLOW_THREADS
h = headerRead(fd, HEADER_MAGIC_YES);