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

@@ -57,7 +57,10 @@ pdfioStringCreate(
char **temp = realloc(pdf->strings, (pdf->alloc_strings + 32) * sizeof(char *));
if (!temp)
{
free(news);
return (NULL);
}
pdf->strings = temp;
pdf->alloc_strings += 32;