projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9490bf
)
Teach (unused) headerFreeTag about RPM_FORCEFREE_TYPE
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 2 Jan 2008 13:02:18 +0000
(15:02 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 2 Jan 2008 13:02:18 +0000
(15:02 +0200)
rpmdb/header.c
patch
|
blob
|
history
diff --git
a/rpmdb/header.c
b/rpmdb/header.c
index
17b8101
..
d1b757a
100644
(file)
--- a/
rpmdb/header.c
+++ b/
rpmdb/header.c
@@
-1476,7
+1476,7
@@
static void * _headerFreeTag(Header h,
rpm_data_t data, rpm_tagtype_t type)
{
if (data) {
- if (type ==
-1
||
+ if (type ==
RPM_FORCEFREE_TYPE
||
type == RPM_STRING_ARRAY_TYPE ||
type == RPM_I18NSTRING_TYPE ||
type == RPM_BIN_TYPE)