mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-29 07:12:02 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user