summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/rpmqv.c b/rpmqv.c
index e71874d30..7c7a77280 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -332,18 +332,19 @@ int main(int argc, char *argv[])
break;
}
- ts = rpmtsFree(ts);
+ rpmtsFree(ts);
finishPipe();
#ifdef IAM_RPMQV
- qva->qva_queryFormat = _free(qva->qva_queryFormat);
+ free(qva->qva_queryFormat);
#endif
#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 = _free(ia->relocations);
+ if (ia->relocations != NULL) {
+ for (i = 0; i < ia->numRelocations; i++)
+ free(ia->relocations[i].oldPath);
+ free(ia->relocations);
+ }
#endif
rpmcliFini(optCon);