mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix release of the wrong object in NSCache.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32068 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8b241428d7
commit
20d95085f5
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@
|
|||
[_accesses addObject: newObject];
|
||||
}
|
||||
[_objects setObject: newObject forKey: key];
|
||||
RELEASE(obj);
|
||||
RELEASE(newObject);
|
||||
_totalCost += num;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue