Fixed some issues/warnings found by clang-analyzer.

This commit is contained in:
Juan RP
2013-06-20 11:25:43 +02:00
parent 42c0766c00
commit 52fc384e4e
5 changed files with 9 additions and 13 deletions

View File

@@ -140,6 +140,7 @@ xbps_archive_get_dictionary(struct archive *ar, struct archive_entry *entry)
if (uncomp_buf == NULL) {
/* Error while decompressing */
free(buf);
free(uncomp_buf);
return NULL;
} else {
/* We have the uncompressed data */