diff options
author | jbj <devnull@localhost> | 2003-05-16 21:14:30 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-05-16 21:14:30 +0000 |
commit | 38004c8677c87c968fc1cf541bc49f08dcc4fc8a (patch) | |
tree | 84e27afcb520740ac4a5a8cf5728dc084320f47d /python/header-py.c | |
parent | 2dfc9f2eefc0302a8adb7f8a74bf5be21505e105 (diff) | |
download | librpm-tizen-38004c8677c87c968fc1cf541bc49f08dcc4fc8a.tar.gz librpm-tizen-38004c8677c87c968fc1cf541bc49f08dcc4fc8a.tar.bz2 librpm-tizen-38004c8677c87c968fc1cf541bc49f08dcc4fc8a.zip |
fix: do headerFree after headerRead.
CVS patchset: 6849
CVS date: 2003/05/16 21:14:30
Diffstat (limited to 'python/header-py.c')
-rw-r--r-- | python/header-py.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/header-py.c b/python/header-py.c index 2aad11c42..0904b8e9e 100644 --- a/python/header-py.c +++ b/python/header-py.c @@ -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); |