mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-29 15:22:06 +02:00
Add an Xcode project and fix some Clang-reported issues.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user