mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Fix leak.
This commit is contained in:
parent
91be2c2c83
commit
70b687d3fd
1 changed files with 1 additions and 0 deletions
|
@ -488,6 +488,7 @@ static unsigned encodingVersion;
|
||||||
{
|
{
|
||||||
if (anObject == nil)
|
if (anObject == nil)
|
||||||
{
|
{
|
||||||
|
RELEASE(self);
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"nil data passed to initForReadingWithData:"];
|
format: @"nil data passed to initForReadingWithData:"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue