mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
Merge branch '4.1' into 4.2
This commit is contained in:
commit
6c8d5e1615
@ -324,11 +324,11 @@ SkeletonData *SkeletonBinary::readSkeletonData(const unsigned char *binary, cons
|
||||
skeletonData->_skins.add(defaultSkin);
|
||||
}
|
||||
|
||||
if (!this->getError().isEmpty()) {
|
||||
delete input;
|
||||
delete skeletonData;
|
||||
return NULL;
|
||||
}
|
||||
if (!this->getError().isEmpty()) {
|
||||
delete input;
|
||||
delete skeletonData;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Skins. */
|
||||
for (size_t i = 0, n = (size_t) readVarint(input, true); i < n; ++i) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user