fixed some bad frees

CVS patchset: 221
CVS date: 1996/01/22 21:13:55
This commit is contained in:
root 1996-01-22 21:13:55 +00:00
parent ae492679ac
commit a8900dfbd0
1 changed files with 4 additions and 2 deletions

View File

@ -158,8 +158,10 @@ static int handleSharedFiles(rpmdb db, int offset, char ** fileList,
}
}
free(secFileMd5List);
free(secFileList);
if (secOffset) {
free(secFileMd5List);
free(secFileList);
}
free(sharedList);
return rc;