mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
fix leak
This commit is contained in:
parent
a38cc90403
commit
0f9edb188b
1 changed files with 5 additions and 0 deletions
|
@ -756,8 +756,13 @@ GSPropertyListFromCookieFormat(NSString *string, int version)
|
|||
if ([keyval length] < [key length])
|
||||
{
|
||||
pld->pos = keyvalpos;
|
||||
DESTROY(key);
|
||||
key = keyval;
|
||||
}
|
||||
else
|
||||
{
|
||||
DESTROY(keyval);
|
||||
}
|
||||
}
|
||||
if (key == nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue