summaryrefslogtreecommitdiff
path: root/lib/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/package.c')
-rw-r--r--lib/package.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/package.c b/lib/package.c
index c8d1f32d1..e6f9121a2 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -535,6 +535,7 @@ verifyinfo_exit:
_("only V3 signatures can be verified, skipping V%u signature\n"),
dig->signature.version);
rpmtsCleanDig(ts);
+ sig = _free(sig);
goto verifyinfo_exit;
}
@@ -575,6 +576,7 @@ verifyinfo_exit:
_("only V3 signatures can be verified, skipping V%u signature\n"),
dig->signature.version);
rpmtsCleanDig(ts);
+ sig = _free(sig);
goto verifyinfo_exit;
}
/*@fallthrough@*/