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