summaryrefslogtreecommitdiff
path: root/lib/rpmte.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-03-24 22:42:34 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-03-24 22:42:34 +0200
commite501ac2e77ab4f145c75558aa456b7f5f481d254 (patch)
treefc1dcff722b6b9339430ca6cdb8ddbda425f5cff /lib/rpmte.c
parent3e57c865c5d3b65fea8bcddb376e0bc859b598e3 (diff)
downloadrpm-e501ac2e77ab4f145c75558aa456b7f5f481d254.tar.gz
rpm-e501ac2e77ab4f145c75558aa456b7f5f481d254.tar.bz2
rpm-e501ac2e77ab4f145c75558aa456b7f5f481d254.zip
Remove bogus const from rpmRelocation struct
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r--lib/rpmte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index 94113efb3..96468e53b 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -36,8 +36,8 @@ static void delTE(rpmte p)
if (p->relocs) {
for (r = p->relocs; (r->oldPath || r->newPath); r++) {
- r->oldPath = _constfree(r->oldPath);
- r->newPath = _constfree(r->newPath);
+ r->oldPath = _free(r->oldPath);
+ r->newPath = _free(r->newPath);
}
p->relocs = _free(p->relocs);
}