Fix some minor Coverity-reported issues (added a check to suppress a warning,

removed an unnecessary check, and removed some dead code)
This commit is contained in:
Michael R Sweet
2021-10-31 07:04:17 -04:00
parent b3ca129a58
commit 9014ab7a20
3 changed files with 15 additions and 14 deletions

View File

@@ -366,9 +366,7 @@ _pdfioArrayDelete(pdfio_array_t *a) // I - Array
free(a->values[i].value.binary.data);
}
if (a)
free(a->values);
free(a->values);
free(a);
}