Fix leak.

This commit is contained in:
rfm 2024-11-15 16:00:01 +00:00
parent 91be2c2c83
commit 70b687d3fd

View file

@ -488,6 +488,7 @@ static unsigned encodingVersion;
{
if (anObject == nil)
{
RELEASE(self);
[NSException raise: NSInvalidArgumentException
format: @"nil data passed to initForReadingWithData:"];
}