mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15902 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6c649289e5
commit
cfd390dc45
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-02-07 19:21 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/GSAttributedString (-setAttributes:range:): Fix memory
|
||||
leak.
|
||||
|
||||
2003-02-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Sourcewin32-def.top: Remove recently added external functions.
|
||||
|
|
|
@ -720,6 +720,7 @@ SANITY();
|
|||
if (info->attrs == attributes)
|
||||
{
|
||||
unCacheAttributes(attributes);
|
||||
RELEASE(attributes);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -731,6 +732,7 @@ SANITY();
|
|||
else if (info->attrs == attributes)
|
||||
{
|
||||
unCacheAttributes(attributes);
|
||||
RELEASE(attributes);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue