Use constfree on relocations for now
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Dec 2007 10:07:48 +0000 (12:07 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Dec 2007 10:07:48 +0000 (12:07 +0200)
- they're totally exposed all they way to rpmqv.c.. eww

rpmqv.c

diff --git a/rpmqv.c b/rpmqv.c
index 4251b79..3680999 100644 (file)
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -869,7 +869,7 @@ exit:
 #ifdef IAM_RPMEIU
     if (ia->relocations != NULL)
     for (i = 0; i < ia->numRelocations; i++)
-       ia->relocations[i].oldPath = _free(ia->relocations[i].oldPath);
+       ia->relocations[i].oldPath = _constfree(ia->relocations[i].oldPath);
     ia->relocations = _free(ia->relocations);
 #endif