Merge branch 'master' into crypto

This commit is contained in:
Michael R Sweet
2021-10-25 21:25:12 -04:00
committed by GitHub
9 changed files with 52 additions and 27 deletions

View File

@@ -357,6 +357,15 @@ _pdfioArrayDebug(pdfio_array_t *a, // I - Array
void
_pdfioArrayDelete(pdfio_array_t *a) // I - Array
{
size_t i; // Looping var
for (i = 0; i < a->num_values; i ++)
{
if (a->values[i].type == PDFIO_VALTYPE_BINARY)
free(a->values[i].value.binary.data);
}
if (a)
free(a->values);