Subversion Repositories spk

Rev

Rev 308 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 308 Rev 317
Line 1648... Line 1648...
1648
		return nullptr;
1648
		return nullptr;
1649
	}
1649
	}
1650
 
1650
 
1651
	if (len) *len = uncomprLen;
1651
	if (len) *len = uncomprLen;
1652
	uncompr[uncomprLen] = '\0';
1652
	uncompr[uncomprLen] = '\0';
1653
	if (tempData) delete[](tempData - 1); // tempData was offset by +1
1653
	if (tempData) delete[]tempData;
1654
	return uncompr;
1654
	return uncompr;
1655
}
1655
}
1656
 
1656
 
1657
bool IsDataPCK ( const unsigned char *data, size_t size )
1657
bool IsDataPCK ( const unsigned char *data, size_t size )
1658
{
1658
{