Add an Xcode project and fix some Clang-reported issues.

This commit is contained in:
Michael R Sweet
2021-05-01 07:36:19 -04:00
parent 8031e31abb
commit e6dbb256f1
9 changed files with 529 additions and 26 deletions

View File

@@ -180,6 +180,7 @@ pdfioFileCreateObject(
if (!temp)
{
_pdfioFileError(pdf, "Unable to allocate memory for object - %s", strerror(errno));
free(obj);
return (NULL);
}