git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34355 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-12-24 13:14:46 +00:00
parent 3b65abba77
commit 70bbf8ce82
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Fix retain rount error spotted by
<rajendra@teamf1.com> (bug #35164)
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSTextCheckingResult.h:

View file

@ -2555,8 +2555,11 @@ static NSLock *cached_proxies_gate = nil;
decoder = aRmc;
/* Decode the object, (which is always the first argument to a method). */
[decoder decodeValueOfObjCType: @encode(id) at: &object];
/* Decode the object, (which is always the first argument to a method).
* Use the -decodeObject method to ensure that the target of the
* invocation is autoreleased and will be deallocated when we finish.
*/
object = [decoder decodeObject];
/* Decode the selector, (which is the second argument to a method). */
/* xxx @encode(SEL) produces "^v" in gcc 2.5.8. It should be ":" */