summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'build.c')
-rw-r--r--build.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.c b/build.c
index 87258df55..3dd44cf33 100644
--- a/build.c
+++ b/build.c
@@ -49,8 +49,7 @@ static int checkSpec(Header h)
rc = 1;
}
- if (ts != NULL)
- rpmtransFree(ts);
+ ts = rpmtransFree(ts);
if (db != NULL)
(void) rpmdbClose(db);