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:
083a82f
)
Stick constfree to extension cache cleanup
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 18 Dec 2007 08:46:39 +0000
(10:46 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 18 Dec 2007 08:46:39 +0000
(10:46 +0200)
- deal with the header mess later on
rpmdb/header.c
patch
|
blob
|
history
diff --git
a/rpmdb/header.c
b/rpmdb/header.c
index
9a9457b
..
09f7c03
100644
(file)
--- a/
rpmdb/header.c
+++ b/
rpmdb/header.c
@@
-3017,7
+3017,7
@@
rpmecFree(const headerSprintfExtension exts, rpmec ec)
for (ext = exts; ext != NULL && ext->type != HEADER_EXT_LAST;
ext = (ext->type == HEADER_EXT_MORE ? ext->u.more : ext+1))
{
- if (ec[i].freeit) ec[i].data = _free(ec[i].data);
+ if (ec[i].freeit) ec[i].data = _
const
free(ec[i].data);
i++;
}