One leftover reloc constfree..
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Dec 2007 10:29:46 +0000 (12:29 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Dec 2007 10:29:46 +0000 (12:29 +0200)
lib/rpminstall.c

index f678ae6..9eea1f8 100644 (file)
@@ -523,7 +523,7 @@ if (fileURL[0] == '=') {
        /* XXX reference held by transaction set */
        eiu->h = headerFree(eiu->h);
        if (eiu->relocations)
-           eiu->relocations->oldPath = _free(eiu->relocations->oldPath);
+           eiu->relocations->oldPath = _constfree(eiu->relocations->oldPath);
 
        switch(rc) {
        case 0: