Plug a memory leak from commit 170bc61a33
This commit is contained in:
parent
3837ecce3b
commit
a8436c52ec
|
@ -290,8 +290,10 @@ const char *rpmsinfoDescr(struct rpmsinfo_s *sinfo)
|
|||
break;
|
||||
case RPMSIG_SIGNATURE_TYPE:
|
||||
if (sinfo->sig) {
|
||||
char *t = pgpIdentItem(sinfo->sig);
|
||||
rasprintf(&sinfo->descr, _("%s%s"),
|
||||
rangeName(sinfo->range), pgpIdentItem(sinfo->sig));
|
||||
rangeName(sinfo->range), t);
|
||||
free(t);
|
||||
} else {
|
||||
rasprintf(&sinfo->descr, _("%s%s %s"),
|
||||
rangeName(sinfo->range),
|
||||
|
|
Loading…
Reference in New Issue