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

@@ -74,8 +74,13 @@ pdfioArrayAppendBinary(
memcpy(v.value.binary.data, value, valuelen);
return (append_value(a, &v));
if (!append_value(a, &v))
{
free(v.value.binary.data);
return (false);
}
return (true);
}
//